D
Deniz Dogan
Hello!
I'm trying to learn how to use a GridBagLayout in my small project but I
can't seem to find a decent and detailed tutorial on the subject. There
are very many parameters in a GridBagConstraints constructor and I
suppose I need to know what each of the parameters do, to avoid simply
cutting-and-pasting different examples until I get it the way I want it.
If someone is interested, I'm looking to make the following:
A JTable covering the frame 100% horizontally and about 70% vertically,
located at the very top of the frame.
Just below the JTable I will have a small JPanel that will cover 100% of
the horizontal size and 10% vertically.
Just below that JPanel I will have yet another JPanel covering the rest
of the frame.
/Deniz Dogan
I'm trying to learn how to use a GridBagLayout in my small project but I
can't seem to find a decent and detailed tutorial on the subject. There
are very many parameters in a GridBagConstraints constructor and I
suppose I need to know what each of the parameters do, to avoid simply
cutting-and-pasting different examples until I get it the way I want it.
If someone is interested, I'm looking to make the following:
A JTable covering the frame 100% horizontally and about 70% vertically,
located at the very top of the frame.
Just below the JTable I will have a small JPanel that will cover 100% of
the horizontal size and 10% vertically.
Just below that JPanel I will have yet another JPanel covering the rest
of the frame.
/Deniz Dogan