Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4524
| From | "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: JTabbedPane-How to ch |
| Message-ID | <4935654f$1@news.uni-rostock.de> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <da6131c5-308a-460e-b4fd-73fdf058288c@c1g2000yqg.googlegroups.com> |
| Date | 2011-04-27 15:51 +0000 |
| Organization | TDS.net |
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 | Next — Previous in thread | Find similar
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