• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!



 
Sheriff
Posts: 28430
103
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No need to move it. You answered the question for me. Thank you!
 
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic