Hi all,
I need some help with proper component sizing.
I am building a DB app in NetBeans v.6.5. I'm using the GUI designer for the most part and coding around it.
Here's what I'm trying to accomplish:
The user submits a school course's id. The DB is queried for the multiple choice
test for that course and presents it to the user.
I am having great difficulty with the presentation. Specifically, the test questions and choices are being squished together vertically, making them unreadable.
I have tried fiddling with changing the size of things (eg. JRadioButton.setMinimumSize()) but with little success.
Here's my code for producing the test. I've omitted the NetBeans code for brevity:
In addition to the above, questionPanel is contained in a JScrollPanel whose properties (and code) were defined by the NetBeans GUI designer.
I hope that's enough details. I can certainly provide the GUI-designers code if it's needed.
Oddly enough, after fiddling with some size properties in NetBeans the problem fixed itself. But, while fiddling with similar settings (to improve the GUI layout) the problem has returned.
Thanks!