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


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

Re: Customizing the JTabb

From "IchBin" <ichbin@THRWHITE.remove-dii-this>
Subject Re: Customizing the JTabb
Message-ID <Tv2dnTVpUvBdMkbYnZ2dnUVZ_qGjnZ2d@ptd.net> (permalink)
Newsgroups comp.lang.java.gui
References <1172024077.303328.63080@v45g2000cwv.googlegroups.com>
Date 2011-04-27 15:30 +0000
Organization TDS.net

Show all headers | View raw


  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

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


Thread

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

csiph-web