/[debian]/libjgoodies-looks-java/branches/upstream/current/docs/api/com/jgoodies/looks/LookUtils.html
ViewVC logotype

Contents of /libjgoodies-looks-java/branches/upstream/current/docs/api/com/jgoodies/looks/LookUtils.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 725 - (show annotations)
Sat May 12 23:43:37 2007 UTC (14 years, 2 months ago) by gregoa
File MIME type: text/html
File size: 43653 byte(s)
[svn-upgrade] Integrating new upstream version, libjgoodies-looks-java (2.1.4)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_01) on Tue Apr 17 15:08:36 CEST 2007 -->
6 <TITLE>
7 LookUtils (JGoodies Looks 2.1 API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2007-04-17">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="LookUtils (JGoodies Looks 2.1 API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LookUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 </EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/jgoodies/looks/HeaderStyle.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/jgoodies/looks/LookUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="LookUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.jgoodies.looks</FONT>
92 <BR>
93 Class LookUtils</H2>
94 <PRE>
95 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.looks.LookUtils</B>
97 </PRE>
98 <HR>
99 <DL>
100 <DT><PRE>public final class <B>LookUtils</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101 </PRE>
102
103 <P>
104 Provides convenience behavior used by the JGoodies Looks.
105 <P>
106
107 <P>
108 <DL>
109 <DT><B>Version:</B></DT>
110 <DD>$Revision: 1.9 $</DD>
111 <DT><B>Author:</B></DT>
112 <DD>Karsten Lentzsch</DD>
113 </DL>
114 <HR>
115
116 <P>
117 <!-- =========== FIELD SUMMARY =========== -->
118
119 <A NAME="field_summary"><!-- --></A>
120 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123 <B>Field Summary</B></FONT></TH>
124 </TR>
125 <TR BGCOLOR="white" CLASS="TableRowColor">
126 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127 <CODE>static&nbsp;boolean</CODE></FONT></TD>
128 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4">IS_JAVA_1_4</A></B></CODE>
129
130 <BR>
131 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4.</TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135 <CODE>static&nbsp;boolean</CODE></FONT></TD>
136 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4_0">IS_JAVA_1_4_0</A></B></CODE>
137
138 <BR>
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4.0_*.</TD>
140 </TR>
141 <TR BGCOLOR="white" CLASS="TableRowColor">
142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143 <CODE>static&nbsp;boolean</CODE></FONT></TD>
144 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4_2_OR_LATER">IS_JAVA_1_4_2_OR_LATER</A></B></CODE>
145
146 <BR>
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4.2 or later.</TD>
148 </TR>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151 <CODE>static&nbsp;boolean</CODE></FONT></TD>
152 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4_OR_5">IS_JAVA_1_4_OR_5</A></B></CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4 or Java 5.</TD>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE>static&nbsp;boolean</CODE></FONT></TD>
160 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_5">IS_JAVA_5</A></B></CODE>
161
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 5.x.</TD>
164 </TR>
165 <TR BGCOLOR="white" CLASS="TableRowColor">
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167 <CODE>static&nbsp;boolean</CODE></FONT></TD>
168 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_5_OR_LATER">IS_JAVA_5_OR_LATER</A></B></CODE>
169
170 <BR>
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 5.x or later.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>static&nbsp;boolean</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_6">IS_JAVA_6</A></B></CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 6.</TD>
180 </TR>
181 <TR BGCOLOR="white" CLASS="TableRowColor">
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183 <CODE>static&nbsp;boolean</CODE></FONT></TD>
184 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_6_OR_LATER">IS_JAVA_6_OR_LATER</A></B></CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 6.x or later.</TD>
188 </TR>
189 <TR BGCOLOR="white" CLASS="TableRowColor">
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191 <CODE>static&nbsp;boolean</CODE></FONT></TD>
192 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_LAF_WINDOWS_XP_ENABLED">IS_LAF_WINDOWS_XP_ENABLED</A></B></CODE>
193
194 <BR>
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the Windows XP Look&amp;Feel is enabled.</TD>
196 </TR>
197 <TR BGCOLOR="white" CLASS="TableRowColor">
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199 <CODE>static&nbsp;boolean</CODE></FONT></TD>
200 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_LOW_RESOLUTION">IS_LOW_RESOLUTION</A></B></CODE>
201
202 <BR>
203 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if if the screen resolution is smaller than 120 dpi.</TD>
204 </TR>
205 <TR BGCOLOR="white" CLASS="TableRowColor">
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207 <CODE>static&nbsp;boolean</CODE></FONT></TD>
208 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_FREEBSD">IS_OS_FREEBSD</A></B></CODE>
209
210 <BR>
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is FreeBSD.</TD>
212 </TR>
213 <TR BGCOLOR="white" CLASS="TableRowColor">
214 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215 <CODE>static&nbsp;boolean</CODE></FONT></TD>
216 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_LINUX">IS_OS_LINUX</A></B></CODE>
217
218 <BR>
219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Linux.</TD>
220 </TR>
221 <TR BGCOLOR="white" CLASS="TableRowColor">
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223 <CODE>static&nbsp;boolean</CODE></FONT></TD>
224 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_MAC">IS_OS_MAC</A></B></CODE>
225
226 <BR>
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is the Mac OS X.</TD>
228 </TR>
229 <TR BGCOLOR="white" CLASS="TableRowColor">
230 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231 <CODE>static&nbsp;boolean</CODE></FONT></TD>
232 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_OS2">IS_OS_OS2</A></B></CODE>
233
234 <BR>
235 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is OS/2.</TD>
236 </TR>
237 <TR BGCOLOR="white" CLASS="TableRowColor">
238 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239 <CODE>static&nbsp;boolean</CODE></FONT></TD>
240 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_SOLARIS">IS_OS_SOLARIS</A></B></CODE>
241
242 <BR>
243 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Solaris.</TD>
244 </TR>
245 <TR BGCOLOR="white" CLASS="TableRowColor">
246 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247 <CODE>static&nbsp;boolean</CODE></FONT></TD>
248 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS">IS_OS_WINDOWS</A></B></CODE>
249
250 <BR>
251 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows.</TD>
252 </TR>
253 <TR BGCOLOR="white" CLASS="TableRowColor">
254 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255 <CODE>static&nbsp;boolean</CODE></FONT></TD>
256 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_2000">IS_OS_WINDOWS_2000</A></B></CODE>
257
258 <BR>
259 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 2000.</TD>
260 </TR>
261 <TR BGCOLOR="white" CLASS="TableRowColor">
262 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263 <CODE>static&nbsp;boolean</CODE></FONT></TD>
264 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_95">IS_OS_WINDOWS_95</A></B></CODE>
265
266 <BR>
267 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 95.</TD>
268 </TR>
269 <TR BGCOLOR="white" CLASS="TableRowColor">
270 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271 <CODE>static&nbsp;boolean</CODE></FONT></TD>
272 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_98">IS_OS_WINDOWS_98</A></B></CODE>
273
274 <BR>
275 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 98.</TD>
276 </TR>
277 <TR BGCOLOR="white" CLASS="TableRowColor">
278 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279 <CODE>static&nbsp;boolean</CODE></FONT></TD>
280 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_ME">IS_OS_WINDOWS_ME</A></B></CODE>
281
282 <BR>
283 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows ME.</TD>
284 </TR>
285 <TR BGCOLOR="white" CLASS="TableRowColor">
286 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287 <CODE>static&nbsp;boolean</CODE></FONT></TD>
288 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_MODERN">IS_OS_WINDOWS_MODERN</A></B></CODE>
289
290 <BR>
291 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 98/ME/2000/XP/VISTA.</TD>
292 </TR>
293 <TR BGCOLOR="white" CLASS="TableRowColor">
294 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
295 <CODE>static&nbsp;boolean</CODE></FONT></TD>
296 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_NT">IS_OS_WINDOWS_NT</A></B></CODE>
297
298 <BR>
299 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows NT.</TD>
300 </TR>
301 <TR BGCOLOR="white" CLASS="TableRowColor">
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303 <CODE>static&nbsp;boolean</CODE></FONT></TD>
304 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_VISTA">IS_OS_WINDOWS_VISTA</A></B></CODE>
305
306 <BR>
307 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows Vista.</TD>
308 </TR>
309 <TR BGCOLOR="white" CLASS="TableRowColor">
310 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311 <CODE>static&nbsp;boolean</CODE></FONT></TD>
312 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_XP">IS_OS_WINDOWS_XP</A></B></CODE>
313
314 <BR>
315 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows XP.</TD>
316 </TR>
317 </TABLE>
318 &nbsp;
319 <!-- ========== METHOD SUMMARY =========== -->
320
321 <A NAME="method_summary"><!-- --></A>
322 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
323 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
324 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
325 <B>Method Summary</B></FONT></TH>
326 </TR>
327 <TR BGCOLOR="white" CLASS="TableRowColor">
328 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
329 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A></CODE></FONT></TD>
330 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getBooleanSystemProperty(java.lang.String, java.lang.String)">getBooleanSystemProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key,
331 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;logMessage)</CODE>
332
333 <BR>
334 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if a boolean system property has been set for the given key,
335 and returns the associated Boolean, or <code>null</code> if no value
336 has been set.</TD>
337 </TR>
338 <TR BGCOLOR="white" CLASS="TableRowColor">
339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
341 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getDefaultTheme(javax.swing.LookAndFeel)">getDefaultTheme</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</CODE>
342
343 <BR>
344 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
345 </TR>
346 <TR BGCOLOR="white" CLASS="TableRowColor">
347 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
348 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD>
349 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getInstalledThemes(javax.swing.LookAndFeel)">getInstalledThemes</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</CODE>
350
351 <BR>
352 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
353 </TR>
354 <TR BGCOLOR="white" CLASS="TableRowColor">
355 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
356 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A></CODE></FONT></TD>
357 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSlightlyBrighter(java.awt.Color)">getSlightlyBrighter</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color)</CODE>
358
359 <BR>
360 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes and returns a Color that is slightly brighter
361 than the specified Color.</TD>
362 </TR>
363 <TR BGCOLOR="white" CLASS="TableRowColor">
364 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
365 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A></CODE></FONT></TD>
366 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSlightlyBrighter(java.awt.Color, float)">getSlightlyBrighter</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color,
367 float&nbsp;factor)</CODE>
368
369 <BR>
370 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes and returns a Color that is slightly brighter
371 than the specified Color.</TD>
372 </TR>
373 <TR BGCOLOR="white" CLASS="TableRowColor">
374 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
375 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
376 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSystemProperty(java.lang.String)">getSystemProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key)</CODE>
377
378 <BR>
379 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tries to look up the System property for the given key.</TD>
380 </TR>
381 <TR BGCOLOR="white" CLASS="TableRowColor">
382 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
383 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
384 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSystemProperty(java.lang.String, java.lang.String)">getSystemProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key,
385 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;defaultValue)</CODE>
386
387 <BR>
388 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tries to look up the System property for the given key.</TD>
389 </TR>
390 <TR BGCOLOR="white" CLASS="TableRowColor">
391 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
392 <CODE>static&nbsp;boolean</CODE></FONT></TD>
393 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getToolkitUsesNativeDropShadows()">getToolkitUsesNativeDropShadows</A></B>()</CODE>
394
395 <BR>
396 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks and answers whether this toolkit provides native drop shadows
397 for popups such as the Mac OS X.</TD>
398 </TR>
399 <TR BGCOLOR="white" CLASS="TableRowColor">
400 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
401 <CODE>static&nbsp;boolean</CODE></FONT></TD>
402 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#isTrueColor(java.awt.Component)">isTrueColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;c)</CODE>
403
404 <BR>
405 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks and answers whether we have a true color system.</TD>
406 </TR>
407 <TR BGCOLOR="white" CLASS="TableRowColor">
408 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
409 <CODE>static&nbsp;void</CODE></FONT></TD>
410 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#log()">log</A></B>()</CODE>
411
412 <BR>
413 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a new line to the console if logging is enabled.</TD>
414 </TR>
415 <TR BGCOLOR="white" CLASS="TableRowColor">
416 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
417 <CODE>static&nbsp;void</CODE></FONT></TD>
418 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#log(java.lang.String)">log</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;message)</CODE>
419
420 <BR>
421 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the given message to the console if logging is enabled.</TD>
422 </TR>
423 <TR BGCOLOR="white" CLASS="TableRowColor">
424 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
425 <CODE>static&nbsp;void</CODE></FONT></TD>
426 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#setLoggingEnabled(boolean)">setLoggingEnabled</A></B>(boolean&nbsp;enabled)</CODE>
427
428 <BR>
429 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables the Looks logging.</TD>
430 </TR>
431 <TR BGCOLOR="white" CLASS="TableRowColor">
432 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
433 <CODE>static&nbsp;void</CODE></FONT></TD>
434 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#setLookAndTheme(javax.swing.LookAndFeel, java.lang.Object)">setLookAndTheme</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf,
435 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;theme)</CODE>
436
437 <BR>
438 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
439 </TR>
440 </TABLE>
441 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
442 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
443 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
444 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
445 </TR>
446 <TR BGCOLOR="white" CLASS="TableRowColor">
447 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
448 </TR>
449 </TABLE>
450 &nbsp;
451 <P>
452
453 <!-- ============ FIELD DETAIL =========== -->
454
455 <A NAME="field_detail"><!-- --></A>
456 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
457 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
458 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
459 <B>Field Detail</B></FONT></TH>
460 </TR>
461 </TABLE>
462
463 <A NAME="IS_JAVA_1_4"><!-- --></A><H3>
464 IS_JAVA_1_4</H3>
465 <PRE>
466 public static final boolean <B>IS_JAVA_1_4</B></PRE>
467 <DL>
468 <DD>True if this is Java 1.4.
469 <P>
470 <DL>
471 </DL>
472 </DL>
473 <HR>
474
475 <A NAME="IS_JAVA_1_4_0"><!-- --></A><H3>
476 IS_JAVA_1_4_0</H3>
477 <PRE>
478 public static final boolean <B>IS_JAVA_1_4_0</B></PRE>
479 <DL>
480 <DD>True if this is Java 1.4.0_*.
481 <P>
482 <DL>
483 </DL>
484 </DL>
485 <HR>
486
487 <A NAME="IS_JAVA_1_4_2_OR_LATER"><!-- --></A><H3>
488 IS_JAVA_1_4_2_OR_LATER</H3>
489 <PRE>
490 public static final boolean <B>IS_JAVA_1_4_2_OR_LATER</B></PRE>
491 <DL>
492 <DD>True if this is Java 1.4.2 or later. Since we assume Java 1.4
493 we just check for 1.4.0 and 1.4.1.
494 <P>
495 <DL>
496 </DL>
497 </DL>
498 <HR>
499
500 <A NAME="IS_JAVA_5"><!-- --></A><H3>
501 IS_JAVA_5</H3>
502 <PRE>
503 public static final boolean <B>IS_JAVA_5</B></PRE>
504 <DL>
505 <DD>True if this is Java 5.x. We check for a prefix of 1.5.
506 <P>
507 <DL>
508 </DL>
509 </DL>
510 <HR>
511
512 <A NAME="IS_JAVA_5_OR_LATER"><!-- --></A><H3>
513 IS_JAVA_5_OR_LATER</H3>
514 <PRE>
515 public static final boolean <B>IS_JAVA_5_OR_LATER</B></PRE>
516 <DL>
517 <DD>True if this is Java 5.x or later. Since we don't support Java 1.3,
518 we can check that it's not 1.4.
519 <P>
520 <DL>
521 </DL>
522 </DL>
523 <HR>
524
525 <A NAME="IS_JAVA_6"><!-- --></A><H3>
526 IS_JAVA_6</H3>
527 <PRE>
528 public static final boolean <B>IS_JAVA_6</B></PRE>
529 <DL>
530 <DD>True if this is Java 6. We check for a prefix of 1.6.
531 <P>
532 <DL>
533 </DL>
534 </DL>
535 <HR>
536
537 <A NAME="IS_JAVA_6_OR_LATER"><!-- --></A><H3>
538 IS_JAVA_6_OR_LATER</H3>
539 <PRE>
540 public static final boolean <B>IS_JAVA_6_OR_LATER</B></PRE>
541 <DL>
542 <DD>True if this is Java 6.x or later. Since we don't support Java 1.3,
543 we can check that it's neither 1.4 nor 1.5.
544 <P>
545 <DL>
546 </DL>
547 </DL>
548 <HR>
549
550 <A NAME="IS_JAVA_1_4_OR_5"><!-- --></A><H3>
551 IS_JAVA_1_4_OR_5</H3>
552 <PRE>
553 public static final boolean <B>IS_JAVA_1_4_OR_5</B></PRE>
554 <DL>
555 <DD>True if this is Java 1.4 or Java 5.
556 <P>
557 <DL>
558 </DL>
559 </DL>
560 <HR>
561
562 <A NAME="IS_OS_FREEBSD"><!-- --></A><H3>
563 IS_OS_FREEBSD</H3>
564 <PRE>
565 public static final boolean <B>IS_OS_FREEBSD</B></PRE>
566 <DL>
567 <DD>True if this is FreeBSD.
568 <P>
569 <DL>
570 </DL>
571 </DL>
572 <HR>
573
574 <A NAME="IS_OS_LINUX"><!-- --></A><H3>
575 IS_OS_LINUX</H3>
576 <PRE>
577 public static final boolean <B>IS_OS_LINUX</B></PRE>
578 <DL>
579 <DD>True if this is Linux.
580 <P>
581 <DL>
582 </DL>
583 </DL>
584 <HR>
585
586 <A NAME="IS_OS_OS2"><!-- --></A><H3>
587 IS_OS_OS2</H3>
588 <PRE>
589 public static final boolean <B>IS_OS_OS2</B></PRE>
590 <DL>
591 <DD>True if this is OS/2.
592 <P>
593 <DL>
594 </DL>
595 </DL>
596 <HR>
597
598 <A NAME="IS_OS_MAC"><!-- --></A><H3>
599 IS_OS_MAC</H3>
600 <PRE>
601 public static final boolean <B>IS_OS_MAC</B></PRE>
602 <DL>
603 <DD>True if this is the Mac OS X.
604 <P>
605 <DL>
606 </DL>
607 </DL>
608 <HR>
609
610 <A NAME="IS_OS_WINDOWS"><!-- --></A><H3>
611 IS_OS_WINDOWS</H3>
612 <PRE>
613 public static final boolean <B>IS_OS_WINDOWS</B></PRE>
614 <DL>
615 <DD>True if this is Windows.
616 <P>
617 <DL>
618 </DL>
619 </DL>
620 <HR>
621
622 <A NAME="IS_OS_WINDOWS_MODERN"><!-- --></A><H3>
623 IS_OS_WINDOWS_MODERN</H3>
624 <PRE>
625 public static final boolean <B>IS_OS_WINDOWS_MODERN</B></PRE>
626 <DL>
627 <DD>True if this is Windows 98/ME/2000/XP/VISTA.
628 <P>
629 <DL>
630 </DL>
631 </DL>
632 <HR>
633
634 <A NAME="IS_OS_WINDOWS_95"><!-- --></A><H3>
635 IS_OS_WINDOWS_95</H3>
636 <PRE>
637 public static final boolean <B>IS_OS_WINDOWS_95</B></PRE>
638 <DL>
639 <DD>True if this is Windows 95.
640 <P>
641 <DL>
642 <DT><B>Since:</B></DT>
643 <DD>2.0</DD>
644 </DL>
645 </DL>
646 <HR>
647
648 <A NAME="IS_OS_WINDOWS_98"><!-- --></A><H3>
649 IS_OS_WINDOWS_98</H3>
650 <PRE>
651 public static final boolean <B>IS_OS_WINDOWS_98</B></PRE>
652 <DL>
653 <DD>True if this is Windows 98.
654 <P>
655 <DL>
656 <DT><B>Since:</B></DT>
657 <DD>2.0</DD>
658 </DL>
659 </DL>
660 <HR>
661
662 <A NAME="IS_OS_WINDOWS_NT"><!-- --></A><H3>
663 IS_OS_WINDOWS_NT</H3>
664 <PRE>
665 public static final boolean <B>IS_OS_WINDOWS_NT</B></PRE>
666 <DL>
667 <DD>True if this is Windows NT.
668 <P>
669 <DL>
670 <DT><B>Since:</B></DT>
671 <DD>2.0</DD>
672 </DL>
673 </DL>
674 <HR>
675
676 <A NAME="IS_OS_WINDOWS_ME"><!-- --></A><H3>
677 IS_OS_WINDOWS_ME</H3>
678 <PRE>
679 public static final boolean <B>IS_OS_WINDOWS_ME</B></PRE>
680 <DL>
681 <DD>True if this is Windows ME.
682 <P>
683 <DL>
684 <DT><B>Since:</B></DT>
685 <DD>2.0</DD>
686 </DL>
687 </DL>
688 <HR>
689
690 <A NAME="IS_OS_WINDOWS_2000"><!-- --></A><H3>
691 IS_OS_WINDOWS_2000</H3>
692 <PRE>
693 public static final boolean <B>IS_OS_WINDOWS_2000</B></PRE>
694 <DL>
695 <DD>True if this is Windows 2000.
696 <P>
697 <DL>
698 <DT><B>Since:</B></DT>
699 <DD>2.0</DD>
700 </DL>
701 </DL>
702 <HR>
703
704 <A NAME="IS_OS_WINDOWS_XP"><!-- --></A><H3>
705 IS_OS_WINDOWS_XP</H3>
706 <PRE>
707 public static final boolean <B>IS_OS_WINDOWS_XP</B></PRE>
708 <DL>
709 <DD>True if this is Windows XP.
710 <P>
711 <DL>
712 </DL>
713 </DL>
714 <HR>
715
716 <A NAME="IS_OS_WINDOWS_VISTA"><!-- --></A><H3>
717 IS_OS_WINDOWS_VISTA</H3>
718 <PRE>
719 public static final boolean <B>IS_OS_WINDOWS_VISTA</B></PRE>
720 <DL>
721 <DD>True if this is Windows Vista.
722 <P>
723 <DL>
724 <DT><B>Since:</B></DT>
725 <DD>2.0</DD>
726 </DL>
727 </DL>
728 <HR>
729
730 <A NAME="IS_OS_SOLARIS"><!-- --></A><H3>
731 IS_OS_SOLARIS</H3>
732 <PRE>
733 public static final boolean <B>IS_OS_SOLARIS</B></PRE>
734 <DL>
735 <DD>True if this is Solaris.
736 <P>
737 <DL>
738 </DL>
739 </DL>
740 <HR>
741
742 <A NAME="IS_LAF_WINDOWS_XP_ENABLED"><!-- --></A><H3>
743 IS_LAF_WINDOWS_XP_ENABLED</H3>
744 <PRE>
745 public static final boolean <B>IS_LAF_WINDOWS_XP_ENABLED</B></PRE>
746 <DL>
747 <DD>True if the Windows XP Look&amp;Feel is enabled.
748 <P>
749 <DL>
750 </DL>
751 </DL>
752 <HR>
753
754 <A NAME="IS_LOW_RESOLUTION"><!-- --></A><H3>
755 IS_LOW_RESOLUTION</H3>
756 <PRE>
757 public static final boolean <B>IS_LOW_RESOLUTION</B></PRE>
758 <DL>
759 <DD>True if if the screen resolution is smaller than 120 dpi.
760 <P>
761 <DL>
762 <DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Toolkit.html?is-external=true#getScreenResolution()" title="class or interface in java.awt"><CODE>Toolkit.getScreenResolution()</CODE></A></DL>
763 </DL>
764
765 <!-- ============ METHOD DETAIL ========== -->
766
767 <A NAME="method_detail"><!-- --></A>
768 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
769 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
770 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
771 <B>Method Detail</B></FONT></TH>
772 </TR>
773 </TABLE>
774
775 <A NAME="getSystemProperty(java.lang.String)"><!-- --></A><H3>
776 getSystemProperty</H3>
777 <PRE>
778 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSystemProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key)</PRE>
779 <DL>
780 <DD>Tries to look up the System property for the given key.
781 In untrusted environments this may throw a SecurityException.
782 In this case we catch the exception and answer <code>null</code>.
783 <P>
784 <DD><DL>
785 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the name of the system property
786 <DT><B>Returns:</B><DD>the system property's String value, or <code>null</code> if there's
787 no such value, or a SecurityException has been caught</DL>
788 </DD>
789 </DL>
790 <HR>
791
792 <A NAME="getSystemProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
793 getSystemProperty</H3>
794 <PRE>
795 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSystemProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key,
796 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;defaultValue)</PRE>
797 <DL>
798 <DD>Tries to look up the System property for the given key.
799 In untrusted environments this may throw a SecurityException.
800 In this case, we catch the exception and answer the default value.
801 <P>
802 <DD><DL>
803 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the name of the system property<DD><CODE>defaultValue</CODE> - the default value if no property exists.
804 <DT><B>Returns:</B><DD>the system property's String value, or the defaultValue
805 if there's no such value, or a SecurityException has been caught</DL>
806 </DD>
807 </DL>
808 <HR>
809
810 <A NAME="getBooleanSystemProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
811 getBooleanSystemProperty</H3>
812 <PRE>
813 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> <B>getBooleanSystemProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;key,
814 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;logMessage)</PRE>
815 <DL>
816 <DD>Checks if a boolean system property has been set for the given key,
817 and returns the associated Boolean, or <code>null</code> if no value
818 has been set. The test for the property ignores case.
819 If a Boolean value has been set, a message is logged
820 with the given prefix.
821 <P>
822 <DD><DL>
823 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the key used to lookup the system property value<DD><CODE>logMessage</CODE> - a prefix used when a message is logged
824 <DT><B>Returns:</B><DD><code>Boolean.TRUE</code> if the system property has been set to
825 "true" (case ignored), <code>Boolean.FALSE</code> if it has been set to
826 "false", <code>null</code> otherwise</DL>
827 </DD>
828 </DL>
829 <HR>
830
831 <A NAME="isTrueColor(java.awt.Component)"><!-- --></A><H3>
832 isTrueColor</H3>
833 <PRE>
834 public static boolean <B>isTrueColor</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;c)</PRE>
835 <DL>
836 <DD>Checks and answers whether we have a true color system.
837 <P>
838 <DD><DL>
839 <DT><B>Parameters:</B><DD><CODE>c</CODE> - the component used to determine the toolkit
840 <DT><B>Returns:</B><DD>true if the component's toolkit has a pixel size >= 24</DL>
841 </DD>
842 </DL>
843 <HR>
844
845 <A NAME="getToolkitUsesNativeDropShadows()"><!-- --></A><H3>
846 getToolkitUsesNativeDropShadows</H3>
847 <PRE>
848 public static boolean <B>getToolkitUsesNativeDropShadows</B>()</PRE>
849 <DL>
850 <DD>Checks and answers whether this toolkit provides native drop shadows
851 for popups such as the Mac OS X. Currently this is used to
852 determine if the Looks' popup drop shadow feature is active or not
853 - even if it's enabled.
854 <P>
855 <DD><DL>
856
857 <DT><B>Returns:</B><DD>true if the toolkit provides native drop shadows<DT><B>See Also:</B><DD><A HREF="../../../com/jgoodies/looks/Options.html#isPopupDropShadowActive()"><CODE>Options.isPopupDropShadowActive()</CODE></A></DL>
858 </DD>
859 </DL>
860 <HR>
861
862 <A NAME="getSlightlyBrighter(java.awt.Color)"><!-- --></A><H3>
863 getSlightlyBrighter</H3>
864 <PRE>
865 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>getSlightlyBrighter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color)</PRE>
866 <DL>
867 <DD>Computes and returns a Color that is slightly brighter
868 than the specified Color.
869 <P>
870 <DD><DL>
871 <DT><B>Parameters:</B><DD><CODE>color</CODE> - the color used as basis for the brightened color
872 <DT><B>Returns:</B><DD>a slightly brighter color</DL>
873 </DD>
874 </DL>
875 <HR>
876
877 <A NAME="getSlightlyBrighter(java.awt.Color, float)"><!-- --></A><H3>
878 getSlightlyBrighter</H3>
879 <PRE>
880 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>getSlightlyBrighter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color,
881 float&nbsp;factor)</PRE>
882 <DL>
883 <DD>Computes and returns a Color that is slightly brighter
884 than the specified Color.
885 <P>
886 <DD><DL>
887 <DT><B>Parameters:</B><DD><CODE>color</CODE> - the color used as basis for the brightened color<DD><CODE>factor</CODE> - the factor used to compute the brightness
888 <DT><B>Returns:</B><DD>a slightly brighter color</DL>
889 </DD>
890 </DL>
891 <HR>
892
893 <A NAME="setLookAndTheme(javax.swing.LookAndFeel, java.lang.Object)"><!-- --></A><H3>
894 setLookAndTheme</H3>
895 <PRE>
896 public static void <B>setLookAndTheme</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf,
897 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;theme)
898 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/UnsupportedLookAndFeelException.html?is-external=true" title="class or interface in javax.swing">UnsupportedLookAndFeelException</A></PRE>
899 <DL>
900 <DD><DL>
901
902 <DT><B>Throws:</B>
903 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/UnsupportedLookAndFeelException.html?is-external=true" title="class or interface in javax.swing">UnsupportedLookAndFeelException</A></CODE></DL>
904 </DD>
905 </DL>
906 <HR>
907
908 <A NAME="getDefaultTheme(javax.swing.LookAndFeel)"><!-- --></A><H3>
909 getDefaultTheme</H3>
910 <PRE>
911 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getDefaultTheme</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</PRE>
912 <DL>
913 <DD><DL>
914 </DL>
915 </DD>
916 </DL>
917 <HR>
918
919 <A NAME="getInstalledThemes(javax.swing.LookAndFeel)"><!-- --></A><H3>
920 getInstalledThemes</H3>
921 <PRE>
922 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>getInstalledThemes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</PRE>
923 <DL>
924 <DD><DL>
925 </DL>
926 </DD>
927 </DL>
928 <HR>
929
930 <A NAME="setLoggingEnabled(boolean)"><!-- --></A><H3>
931 setLoggingEnabled</H3>
932 <PRE>
933 public static void <B>setLoggingEnabled</B>(boolean&nbsp;enabled)</PRE>
934 <DL>
935 <DD>Enables or disables the Looks logging.
936 <P>
937 <DD><DL>
938 <DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true to enable logging, false to disable it</DL>
939 </DD>
940 </DL>
941 <HR>
942
943 <A NAME="log()"><!-- --></A><H3>
944 log</H3>
945 <PRE>
946 public static void <B>log</B>()</PRE>
947 <DL>
948 <DD>Prints a new line to the console if logging is enabled.
949 <P>
950 <DD><DL>
951 </DL>
952 </DD>
953 </DL>
954 <HR>
955
956 <A NAME="log(java.lang.String)"><!-- --></A><H3>
957 log</H3>
958 <PRE>
959 public static void <B>log</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;message)</PRE>
960 <DL>
961 <DD>Prints the given message to the console if logging is enabled.
962 <P>
963 <DD><DL>
964 <DT><B>Parameters:</B><DD><CODE>message</CODE> - the message to print</DL>
965 </DD>
966 </DL>
967 <!-- ========= END OF CLASS DATA ========= -->
968 <HR>
969
970
971 <!-- ======= START OF BOTTOM NAVBAR ====== -->
972 <A NAME="navbar_bottom"><!-- --></A>
973 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
974 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
975 <TR>
976 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
977 <A NAME="navbar_bottom_firstrow"><!-- --></A>
978 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
979 <TR ALIGN="center" VALIGN="top">
980 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
981 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
982 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
983 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LookUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
984 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
985 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
986 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
987 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
988 </TR>
989 </TABLE>
990 </TD>
991 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
992 </EM>
993 </TD>
994 </TR>
995
996 <TR>
997 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
998 &nbsp;<A HREF="../../../com/jgoodies/looks/HeaderStyle.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
999 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks"><B>NEXT CLASS</B></A></FONT></TD>
1000 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1001 <A HREF="../../../index.html?com/jgoodies/looks/LookUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
1002 &nbsp;<A HREF="LookUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1003 &nbsp;<SCRIPT type="text/javascript">
1004 <!--
1005 if(window==top) {
1006 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1007 }
1008 //-->
1009 </SCRIPT>
1010 <NOSCRIPT>
1011 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1012 </NOSCRIPT>
1013
1014
1015 </FONT></TD>
1016 </TR>
1017 <TR>
1018 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1019 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1020 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1021 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1022 </TR>
1023 </TABLE>
1024 <A NAME="skip-navbar_bottom"></A>
1025 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1026
1027 <HR>
1028 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
1029 </BODY>
1030 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26