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


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

Re: Windows look & feel w

From "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this>
Subject Re: Windows look & feel w
Message-ID <evqdneNJ6tkmaufYnZ2dnUVZ_rKvnZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
References <457a25bd$0$818$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
Date 2011-04-27 15:27 +0000
Organization TDS.net

Show all headers | 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