Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I add Text fields on seperate lines  RSS feed

 
Jere Johnson
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
How do i add text fields so that they dont look so cramped?
I want them on seperate lines....
code:
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Do u know how to use lay out managers ? Use lay out managers to get the required format of UI.

Cheers,
Gaya3
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Swing / JFC / AWT forum...
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code doesn't show what you are adding them to. What layout etc.
Here is an example to look at.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!