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


Groups > comp.lang.java.gui > #4011 > unrolled thread

UIDefaults

Started by"Andre Rothe" <andre.rothe@THRWHITE.remove-dii-this>
First post2011-04-27 15:48 +0000
Last post2011-04-27 15:48 +0000
Articles 4 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  UIDefaults "Andre Rothe" <andre.rothe@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
    Re: UIDefaults "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
      Re: UIDefaults "Andre Rothe" <andre.rothe@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
        Re: UIDefaults "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000

#4011 — UIDefaults

From"Andre Rothe" <andre.rothe@THRWHITE.remove-dii-this>
Date2011-04-27 15:48 +0000
SubjectUIDefaults
Message-ID<g89q74$70d$1@aioe.org>
  To: comp.lang.java.gui
Hi,

Where I can find the key names of the UIDefaults hashtable?
Some examples use keys like "Label.background", is there a
comprehensive list?

Thank you
Andre

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

[toc] | [next] | [standalone]


#4019

From"Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this>
Date2011-04-27 15:48 +0000
Message-ID<g8bd7g$lgb$01$1@news.t-online.com>
In reply to#4011
  To: comp.lang.java.gui
Andre Rothe wrote:

> Where I can find the key names of the UIDefaults hashtable?
> Some examples use keys like "Label.background", is there a
> comprehensive list?

The list of UIDefaults keys depends on the L&f used,
and so there's no globally valid list. Years ago, Sun
tried to find/setup the set of UIDefaults keys required
or shared by all L&fs; but AFAIK that never happened.

For a long time the list of UIDefaults supported by
the Sun default L&fs was at least a guideline. With
more and more [third party] L&fs coming up, the key sets
vary more than ever before. For example the new default
L&f Nimbus introduces new keys but doesn't support older
ones.

As long as there's no minimal UIDefaults key specified,
you can rely only on the set given for a specific L&f
(in a specific version).

-Karsten

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

[toc] | [prev] | [next] | [standalone]


#4059

From"Andre Rothe" <andre.rothe@THRWHITE.remove-dii-this>
Date2011-04-27 15:48 +0000
Message-ID<g8kff9$2jg$1@aioe.org>
In reply to#4019
  To: comp.lang.java.gui
Hi,

Thanks a lot for your information. I have found the sources of Desktop 
Java Live, they contain a nice little viewer for all keys of the 
available L&Fs.

~Andre


Karsten Lentzsch schrieb:
> Andre Rothe wrote:
> 
>> Where I can find the key names of the UIDefaults hashtable?
>> Some examples use keys like "Label.background", is there a
>> comprehensive list?
> 
> The list of UIDefaults keys depends on the L&f used,
> and so there's no globally valid list. Years ago, Sun
> tried to find/setup the set of UIDefaults keys required
> or shared by all L&fs; but AFAIK that never happened.
> 
> For a long time the list of UIDefaults supported by
> the Sun default L&fs was at least a guideline. With
> more and more [third party] L&fs coming up, the key sets
> vary more than ever before. For example the new default
> L&f Nimbus introduces new keys but doesn't support older
> ones.
> 
> As long as there's no minimal UIDefaults key specified,
> you can rely only on the set given for a specific L&f
> (in a specific version).
> 
> -Karsten

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

[toc] | [prev] | [next] | [standalone]


#4064

From"Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this>
Date2011-04-27 15:48 +0000
Message-ID<g8lvdc$4b5$03$1@news.t-online.com>
In reply to#4059
  To: comp.lang.java.gui
Andre Rothe wrote:

> Thanks a lot for your information. I have found the sources of Desktop 
> Java Live, they contain a nice little viewer for all keys of the 
> available L&Fs.

It isn't possible to see all keys, because some L&fs use optional keys
that may show up or not. Also, it is interesting to know about the
mandatory and optional client property keys that are required/supported
by an L&f. These are often only documented, and as the UIDefaults keys
cannot be looked up in general.

-Karsten

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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web