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


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

Re: Windows look & feel w

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this>
Subject Re: Windows look & feel w
Message-ID <evqdneNJ6tkmaufYnZ2dnUVZ_rKvnZ2d@comcast.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <457a25bd$0$818$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
References <457a25bd$0$818$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 21
Date Wed, 27 Apr 2011 15:27:06 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918026 96.60.20.240 (Wed, 27 Apr 2011 10:27:06 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:27:06 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:363

Show key headers only | View raw


  To: comp.lang.java.gui

"qu0ll" <qu0llSixFour@gmail.com> wrote in message 
news:457a25bd$0$818$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
>I have found that if I use a custom table header then the UI that is 
>selected when switching look and feels is incorrect for the Windows look 
>and feel.  Specifically, if I create a JTable using Ocean look and feel and 
>then switch to Windows look and feel on a Windows XP machine at run time, 
>the table header takes on the appearance of a Windows Classic header 
>instead of a Windows XP header.  Even when I simplify the custom header to 
>little more than a default header the same problem happens.

I confirm the problem. Even if you use
Component c = createDefaultRenderer().getTableCellRendererComponent( ...
in the renderer, which should eliminate any UI updating issues,
the problem still occurs. It also happens under Java 1.5.

---
 * 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

Windows look & feel wrong "qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: Windows look & feel w "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
    Re: Windows look & feel w "qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000

csiph-web