Fair enough. Wrong is often relative, as in this case (eg it compiles and fixes the problem, but may not be best practice). The position properties of GridBagLayout should not be used for width...
Type: Posts; User: copeg
Fair enough. Wrong is often relative, as in this case (eg it compiles and fixes the problem, but may not be best practice). The position properties of GridBagLayout should not be used for width...
The gridwidth property specifies the number of cells in a row a component should occupy. The EAST property should be used to specify the anchor - when a component is smaller than the display area...