Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #996 > unrolled thread
| Started by | "lancout" <lancout@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:30 +0000 |
| Last post | 2011-04-27 15:30 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.java.gui
Customizing the JTabbedPa "lancout" <lancout@THRWHITE.remove-dii-this> - 2011-04-27 15:30 +0000
Re: Customizing the JTabb "IchBin" <ichbin@THRWHITE.remove-dii-this> - 2011-04-27 15:30 +0000
Re: Customizing the JTabb "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:30 +0000
| From | "lancout" <lancout@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:30 +0000 |
| Subject | Customizing the JTabbedPa |
| Message-ID | <1172024077.303328.63080@v45g2000cwv.googlegroups.com> |
To: comp.lang.java.programmer One thing I really, really want in Swing is this: http://www.osrmt.com/downloads/temp/usability_want.png specifically the context sensitive placement of the toolbar and menu access in relation to the tabs i.e. same level (vital to preserve space) and far right. As far as I can tell I could do it if I subclassed JTabbedPane, override one of the paint methods, draw the images, add mouse events to rollover images and interact on click. But, no doubt I would eventually run into problems (especially with changing lafs). I havent tried it but I assume with JDK 1.6 I can create a toolbar on a JPanel and then use the panel for the tab portion of the tab. A long toolbar might look silly but perhaps the following looks decent: http://www.osrmt.com/downloads/temp/usability_have.png What do you think? --- * 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
[toc] | [next] | [standalone]
| From | "IchBin" <ichbin@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:30 +0000 |
| Subject | Re: Customizing the JTabb |
| Message-ID | <Tv2dnTVpUvBdMkbYnZ2dnUVZ_qGjnZ2d@ptd.net> |
| In reply to | #996 |
To: comp.lang.java.programmer lancout wrote: > One thing I really, really want in Swing is this: > > http://www.osrmt.com/downloads/temp/usability_want.png > > specifically the context sensitive placement of the toolbar and menu > access in relation to the tabs i.e. same level (vital to preserve > space) and far right. > > As far as I can tell I could do it if I subclassed JTabbedPane, > override one of the paint methods, draw the images, add mouse events > to rollover images and interact on click. But, no doubt I would > eventually run into problems (especially with changing lafs). > > I havent tried it but I assume with JDK 1.6 I can create a toolbar on > a JPanel and then use the panel for the tab portion of the tab. A > long toolbar might look silly but perhaps the following looks decent: > > http://www.osrmt.com/downloads/temp/usability_have.png > > What do you think? > Why not just code it using Eclipse SWT library. -- Thanks in Advance... http://weconsultants.prophp.org IchBin, Pocono Lake, Pa, USA http://ichbinquotations.awardspace.com ______________________________________________________________________ 'If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-) --- * 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
[toc] | [prev] | [next] | [standalone]
| From | "Lew" <lew@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:30 +0000 |
| Subject | Re: Customizing the JTabb |
| Message-ID | <i-6dnR9Ybre7S0bYnZ2dnUVZ_ovinZ2d@comcast.com> |
| In reply to | #997 |
To: comp.lang.java.programmer IchBin wrote: > Why not just code it using Eclipse SWT library. Why is SWT worth it? I have read that it is "proprietary" and "non-standard", but a lot of people seem to like it. My prejudice is to stick with Swing, though I admit the need for me to write Java GUIs is pretty close to non-existent. - Lew --- * 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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web