Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4524

Re: JTabbedPane-How to ch

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this>
Subject Re: JTabbedPane-How to ch
Message-ID <4935654f$1@news.uni-rostock.de> (permalink)
X-Comment-To comp.lang.java.gui,comp.l
Newsgroups comp.lang.java.gui
In-Reply-To <da6131c5-308a-460e-b4fd-73fdf058288c@c1g2000yqg.googlegroups.com>
References <da6131c5-308a-460e-b4fd-73fdf058288c@c1g2000yqg.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 36
Date Wed, 27 Apr 2011 15:51:04 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303919464 96.60.20.240 (Wed, 27 Apr 2011 10:51:04 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:51:04 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4524

Show key headers only | View raw


  To: comp.lang.java.gui,comp.l
stacey schrieb:
> Hello everyone,
> 
> I ve made a JtabbedPane with layout Wrap_tab_layout. TO simplify
> things lets say i have 10 tabs, 5 are in one row, and the remaining 5
> are in the second row. What i d like to do, is when i choose one of
> the tabs that are in the second row, i want to flip the two rows
> together, so i can get the second row now first (which is the one that
> includes the tab i chose) and the first row, second.
> 
> You can see this in Netbeans. You have the same effect that i want to
> make when creating your gui in  the gui section, but this dosesnt stay
> when you compile & run it.
> 
> Does anyone know how to do this? I appreciate any help.
> 

I think that is L&F specific, isn't it?
Karsten if you read this, can you shed some light here?

> Thanx in advance,
> 

Btw. why is that functionality important to you? One way (and I don't like that 
way) would be to remove the tabs from second row and insert it before the first 
row, reselecting previously selected tab. (But again I don't quite like that 
solution, better let the L&F handle that for you)
> Stacey
> 
Stefan

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

JTabbedPane-How to change "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000
  Re: JTabbedPane-How to ch "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000

csiph-web