Formatting a java applet
Posted on 2005-04-04
Hey there. I'm creating a 350X275 sized applet. I want to have 5 labels on the left edge (BorderLayout.WEST) and 4 textboxes and one group of two radio buttons on the right. At the bottom two buttons. Something like this:
label 1 textbox
label 2 textbox2
label 3 textbox3
label 4 radiobtn 1 radiobtn 2
label 5 textbox5
I can't for the life of me get it format though. I have the base JPanel, another JPanel for the labels, a third and fourth for the textboxes and
buttons respectively. My textboxes always end up being 2-3 textbox heights though and look really bloated.
Any formatting suggestions or tips would be appreciated.