A
AJ
Obviously not simple to me, otherwise I wouldn't be here. But maybe
simple for you. I have a JPanel with a GridBagLayout. This JPanel
should have 2 columns and 2 rows. I would like to ensure that the two
columns always remain the same width, no matter their contents. How
can I do this? As it stands now, if I have text in one, and nothing
in the other column, the column with text is wider than the other one.
However, when they both contain equal text, or both are empty, they
are the same width, which is what I want. Thanks a lot!
AJ
simple for you. I have a JPanel with a GridBagLayout. This JPanel
should have 2 columns and 2 rows. I would like to ensure that the two
columns always remain the same width, no matter their contents. How
can I do this? As it stands now, if I have text in one, and nothing
in the other column, the column with text is wider than the other one.
However, when they both contain equal text, or both are empty, they
are the same width, which is what I want. Thanks a lot!
AJ