Was thinking about implementing tearaway tabs on a Java project I'm working on. Wondering if there are any libraries out there that make it easy, or if I'm on my own. :-)
Asked
Active
Viewed 1,633 times
6
-
Do mean drag tab to open in another window .. like this firefox example http://www.youtube.com/watch?v=pgUn8UCJe6Y ? – Mark May 17 '11 at 14:01
-
1A tearaway tab is a UI tab that you can remove from the current frame, drag out into space, where it populates it's own new frame. Example, Google Chrome, drag one of those tabs off of the main frame and into desktop space. – Brian Knoblauch May 17 '11 at 14:01
-
I hope you get some good answers, because I'd love to use tearaway tabs in some of my Java projects. – Andy May 17 '11 at 14:08
-
Are you looking for a Swing solution? Or SWT? ... – Joachim Sauer May 17 '11 at 14:17
2 Answers
7
JIdeTabbedPane supports floating tabs though I'm not sure if you can just drag them out.
Correction:
This is what you're looking for:
What are good docking frameworks for Java/Swing?
From that link, the demo of MyDoggy shows beautiful tearaways tabs and docking support.

Community
- 1
- 1

Reverend Gonzo
- 39,701
- 6
- 59
- 77
4
For a related component, see How to Use Tool Bars. This comment suggests that JToolBar
is quite flexible about content.