This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

components in next line

 
nishi kishore
Ranch Hand
Posts: 32
Chrome Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use an appropriate layoutManager
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic