The below applet turned out a real mess when I just used FlowLayout(), so I decided to manually place the components with setLocation(x, y), but now that I did that, I have a blank applet when run. What am I doing wrong, can anyone help?
Thanks in advance!
Hello. My name is Inigo Montoya. You killed my father. Prepare to die.
posted 10 years ago
Direct positioning is not for the faint of heart. I'd strongly advise you to use a layout. For label/element pairs there's BoxLayout, or the very handy LabelledItemPanel class.