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


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

Re: Customizing the JTabb

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "IchBin" <ichbin@THRWHITE.remove-dii-this>
Subject Re: Customizing the JTabb
Message-ID <Tv2dnTVpUvBdMkbYnZ2dnUVZ_qGjnZ2d@ptd.net> (permalink)
X-Comment-To comp.lang.java.programmer
Newsgroups comp.lang.java.gui
In-Reply-To <1172024077.303328.63080@v45g2000cwv.googlegroups.com>
References <1172024077.303328.63080@v45g2000cwv.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:30:47 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918247 96.60.20.240 (Wed, 27 Apr 2011 10:30:47 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:30:47 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:997

Show key headers only | 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 | Unroll thread


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