my dog learned polymorphism
The moose likes Applets and the fly likes components in next line Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "components in next line" Watch "components in next line" New topic

components in next line

nishi kishore
Ranch Hand

Joined: Jun 21, 2012
Posts: 32

i want to create an applet which has components as follows :

label 1 textfield1

label 2 textfield2

label 3 textfield3

button1 button2

the above metioned would be my display in applet. but i am getting all the components in one line.
i want to break the line after each textfield.

thanks and regards
nishi kishore
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
use an appropriate layoutManager
I agree. Here's the link:
subject: components in next line
jQuery in Action, 3rd edition