File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Way to force JTabbedPane to not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Way to force JTabbedPane to not " Watch "Way to force JTabbedPane to not " New topic

Way to force JTabbedPane to not

Matt Senecal
Ranch Hand

Joined: Dec 01, 2000
Posts: 255
I have a JTabbed pane that the user can dyanmically add tabs to. The problem I'm having is that the tabs are being added in multiple rows (multiple runs), instead of straight across. This is most likely because none of the tabs contain enough components to warrant stretching the gui out like I want to.
In any case, is there a way to force it to add the tabs in one run?

There's nothing more dangerous than a resourceful idiot. ---Dilbert
I agree. Here's the link:
subject: Way to force JTabbedPane to not
It's not a secret anymore!