Inspectopedia
 
2024.3

Absolute alignment in AWT/Swing code

Warning
New
Last modified: 03 December 2024

Reports usages of absolute alignment constants from AWT and Swing. Internationalized applications use relative alignment because it respects the locale component orientation settings.

Example:

After the quick-fix is applied: