Hi, instead of using BoxLayout, I'm using the new JFormattedTextField to align pairs of JLabels and JTextField. There is one bad display problem, the vertical misalignment betw JLables and their corresponding JTextFields. Here is the code longish stub code:
Yes it works, bar the alignment problem. TIA :-)
humanum errare est.
posted 13 years ago
I figured it out. One must have the same setPreferredSize(new Dimension(int x, int y)) depending on how one wants to align the beast. Takes a bit of fiddling to make it look nice.