• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jtabbedpane is a pain in the butt; how do I place labels and move them around?

 
Dick Hammer
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am pretty new to Eclipse windows builder and Java and I created these tabs with Labels and buttons, but I am not able to move them around? Anyone know why not? If I put a label in a jframe, and I select absolute coordinates, I am able to move them as I wish, but not when I put them in in a tabbed pane? Also wheneever I add another label or button, it creates another pane!



 
Paul Clapham
Sheriff
Posts: 21152
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The normal thing to do would be to add JPanel objects to your JTabbedPane. Then you can put whatever you like into those JPanels in whatever layout you like.

If you're asking how to do that in your window builder, sorry, I don't know. I could move the question to the forum about IDEs if you think that would be a better place for a question about an IDE feature.
 
Dick Hammer
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No need to move it. You answered the question for me. Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic