I am building a PropertyPanel. I am currently using GridLayoutto control JLabelsand their respective fields where I can specify a value. But the problem is that it GridLayoutautomatically controls the size of the columns: it makes them the same width.
This means that when I have a large field of values, colum gets bigger (which is good), but the other column (with all my JLabels) gets bigger. Here is a screenshot:
<BAD
As you can see, the property imageis of great importance, which makes both columns larger, and after JLabels I have a lot of space.
, LayoutManager, , .
( Gimp):
<