In my Java application, I am trying to create a very simple form with a label and a set of controls on each line of the form. Imagine something like this rough ASCII diagram:
Result 1: (*) pass () fail
Result 2: () pass (*) fail
Error Count: [10______]
Explanation: [Operator overload___]
Annoyingly, JRadioButton does not line up with the rest of the controls, as they have a large number of pads around, pushing them to the right a couple of pixels and adding a lot of space between the lines. I get something like this:
Result 1: (*) pass () fail
Result 2: () pass (*) fail
Error Count: [10______]
Explanation: [Operator overload___]
How can I make the switches stop having so much free space so that they can work well with everything else? If that matters, it's using GTK L & F; I have not tried running the program under Windows.
source share