Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4416
| From | "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Nimbus and custom tab |
| Message-ID | <490f062c$1@news.uni-rostock.de> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <490edc04$1@news.uni-rostock.de> |
| Date | 2011-04-27 15:50 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Stefan Rybacki schrieb: > Hi there, > > I just got a grip on Nimbus and tested it with a UI I developed. In that > UI I maintain a custom tab UI which is not correctly painted using Nimbus. > > My UI derives from BasicTabbedPaneUI. The problem is that > > paintTabBackground is never called and therefore my background is not > opaque and > I have gray text on basically gray background. Where the foreground gray > is a little lighter but still almost unreadable. How come that > paintTabBackground is never called when painting the tabs? > Never mind. Nimbus seems to define tabs as not opaque or hasn't that information available in the UIDefaults by default. By setting the tabbed pane to opaque explicitly solved my problem. Thanks Stefan > Any ideas? > > Thanks > Stefan --- * 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 | Next — Previous in thread | Find similar
Nimbus and custom tab UI "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000 Re: Nimbus and custom tab "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
csiph-web