• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a basic form

 
Shikha Upadhyaya
Ranch Hand
Posts: 70
Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am a beginner in Swing. I have a create a form which has the following fields: Username and Password. I use Eclipse IDE where I can statically add all these components into the form. My question is- When I drag and drop JLabel, JText etc, they don't sit in the place where I want them to be. I just read about the layout managers but couldn't come to a satisfactory conclusion. How do I go about adding these components statically?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I use Eclipse IDE where I can statically add all these components into the form.
> My question is- When I drag and drop JLabel, JText etc, they don't sit in the place where I want them to be.

you'd be better off posting your question/problem in an eclipse/ide forum
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!