A better tabbed pane?

18 views
Skip to first unread message

je...@swank.ca

unread,
Aug 6, 2009, 1:58:12 AM8/6/09
to Mac Widgets for Java
I'm in the market for something to replace a JTabbedPane. It's
problems are various and severe, even worse than poor Safari.
http://explodingpixels.wordpress.com/2009/06/09/why-cant-safari-get-tabs-right/

Is there any plans for a sexy TabbedPane? Or even better, a
TabbedFrame, where the tab/window metaphor is properly blurred a la
Chrome?

Thanks!
-Jesse

Harald Kuhr

unread,
Aug 6, 2009, 8:16:38 AM8/6/09
to mac-widget...@googlegroups.com, je...@swank.ca
Hi Jesse,

As I wrote on Ken's blog, I was working on a "tabs-as-MDI" component
some time ago. Attached some screenshots below. My original intention,
was to create a general component, that would be skinnable to look
like Safari, IE7, Firefox, Chrome etc. However, in my attempt to make
the tabs look and behave exactly like the Safari 3/Terminal style
tabs, I ended up with some quite messy code that needs serious
cleaning up before release. :-(

(Besides, Ken pointed out that Safari's tab metaphor is completely
broken)

If you have the time, it's not really that hard to create a tabs
component. What you need is basically one component with a (modified)
FlowLayout for the tabs themselves, and another component with a
CardLayout for the content.

I'm also interested in starting a project for creating such a
component, as I see a need for it all the time. Anyone like to join
me? :-)


Best regards,

--
Harald K

tabs2.png
tabs2.png

Thasso Griebel

unread,
Aug 6, 2009, 8:48:15 AM8/6/09
to mac-widget...@googlegroups.com
Hi,

I am really interested in a good tabs component and if you want to start a project for such a component I would be happy to help wherever I can, just let me know ;)

-thasso

2009/8/6 Harald Kuhr <haral...@gmail.com>



--
--
Dipl. Inf. Thasso Griebel-------------------Lehrstuhl fuer Bioinformatik
Office 3426--http://bio.informatik.uni-jena.de--Institut fuer Informatik
Phone +49 (0)3641 9-46454-----------Friedrich-Schiller-Universitaet Jena
Fax +49 (0)3641 9-46452----------Ernst-Abbe-Platz 2, 07743 Jena, Germany

knalli

unread,
Aug 6, 2009, 8:53:52 AM8/6/09
to mac-widget...@googlegroups.com
> As I wrote on Ken's blog, I was working on a "tabs-as-MDI" component
> some time ago. Attached some screenshots below. My original intention,
Well, nice work :)

> I am really interested in a good tabs component and if you want to
> start a project for such a component I would be happy to help
> wherever I can, just let me know ;)
Dito.

The original swing's tab look and feel is.. well, you know :)
> <tabs2.png><tabs2.png>
>
> On 6. aug.. 2009, at 07.58, je...@swank.ca wrote:
>

Ken Orr

unread,
Aug 6, 2009, 9:59:29 AM8/6/09
to mac-widget...@googlegroups.com
Hey Jesse,

I don't have any plans right now for a sexy tab component, but feel free to add an issue for it here:


I could be persuaded to add one!

-Ken

Mohamed Mansour

unread,
Aug 6, 2009, 3:48:03 PM8/6/09
to Mac Widgets for Java
It would be nice to contribute it to macwidgets! So we could have one
full suit of components.
>  tabs2.png
> 23KViewDownload
>
>  tabs2.png
> 35KViewDownload
>
>
>
> On 6. aug.. 2009, at 07.58, je...@swank.ca wrote:
>
>
>
> > I'm in the market for something to replace a JTabbedPane. It's
> > problems are various and severe, even worse than poor Safari.
> >  http://explodingpixels.wordpress.com/2009/06/09/why-cant-safari-get-t...

Ken Orr

unread,
Aug 6, 2009, 7:06:53 PM8/6/09
to mac-widget...@googlegroups.com
You're welcome to submit patches to me (Subversion makes this easy), which I'll review for inclusion in Mac Widgets for Java. I don't have any plans to open up the committers list yet though.

-Ken
Reply all
Reply to author
Forward
0 new messages