1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>JGoodies Looks :: User's Guide :: Introduction</title>
<link rel="stylesheet" type="text/css" href="../style.css" >
<meta name="description" content="The JGoodies Looks make your Swing apps and applets look better.">
<meta name="author" content="Karsten Lentzsch">
<meta name="keywords" content="JGoodies Looks Java Look Feel Swing UI Design Usability Lentzsch Kiel">
<meta name="robots" content="index, follow">
<meta name="date" content="2003-07-31">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0" bottommargin="0" >
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td colspan="3" bgcolor="DDDCDC"><a href="../../README.html"><img
src="../images/banner.gif" width="436" height="46" alt=":: JGOODIES Looks :: Professional Swing Look&Feels" border="0"></a></td>
</tr>
<tr>
<td colspan="3" height="1" bgcolor="C9C8C8"></td>
</tr>
<tr>
<td width="160" height="500" valign="top" bgcolor="F4f3f3" class="nav" nowrap="nowrap">
<div style="margin-left: 17px; margin-top: 17px; margin-right: 10px; ; margin-bottom: 17px; line-height: 18px;">
<!-- ************ Anfang der Seitennavigation **************************** -->
<b>General</b>
<br>:: <a class="nav" href="../../README.html">Readme</a>
<br>:: <a class="nav" href="../../RELEASE-NOTES.txt">Release Notes</a>
<br>:: <a class="nav" href="../../LICENSE.txt">License</a>
<br>:: <a class="nav" href="../examples.html">Examples</a>
<br>:: <a class="nav" href="../quickstart.html">Quick Start</a>
<br>:: <a class="nav" href="../tips.html">Tips & Tricks</a>
<br>:: <a class="nav" href="http://www.jgoodies.com/freeware/libraries/looks/faq/">FAQ</a>
<p>
<b>User's Guide</b>
<br>:: <a class="nav" href="../guide/index.html"><b>Introduction</b></a>
<br>:: <a class="nav" href="../guide/lookandtheme.html">Look and Theme</a>
<br>:: <a class="nav" href="../guide/fonts.html">Font Settings</a>
<br>:: <a class="nav" href="../guide/bars.html">Menu- & Tool Bar</a>
<br>:: <a class="nav" href="../guide/3d.html">Plastic 3D Effects</a>
<br>:: <a class="nav" href="../guide/plastic.html">Plastic Options</a>
<br>:: <a class="nav" href="../guide/other.html">Other Options</a>
<p>
<a class="nav" href="../api/index.html"><b>API Docs</b></a>
<p>
<b>Web Pages</b>
<br>:: <a class="nav" href="http://java.net/projects/looks/">Project Home</a>
<br>:: <a class="nav" href="http://www.jgoodies.com/downloads/libraries/">Download</a>
<br>:: <a class="nav" href="http://www.jgoodies.com/downloads/archive/">Archive</a>
<br>:: <a class="nav" href="http://java.net/projects/looks/lists">Mailing Lists</a>
<br>:: <a class="nav" href="http://java.net/jira/browse/LOOKS">Issue Tracker</a>
<!-- *********** Ende der Seitennavigation ******************************* -->
</div>
</td>
<td width="1" bgcolor="E7E5E5"><img src="/images/banner.gif" width="1" height="1" alt=""></td>
<td width="90%" valign="top" >
<div style="margin-left: 20px; margin-top: 17px; margin-bottom: 17px">
<!-- ************ Anfang des Inhalts ***************************************** -->
<table width="530" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<h1>:: User's Guide :: Introduction ::</h1>
The JGoodies Looks distribution provides four Swing look&feel implementations.
This guide explains how to install and configure these looks.
<h2>Before You Start</h2>
To use the JGoodies look&feels add <tt>jgoodies-looks-x.x.x.jar</tt>
to your user classpath.<br>
<b>Do not put the jar into the extension directory!</b>
<a href="../faq.html#1.7">Learn why...</a>
<p>
As an alternative, you can import the sources or extract the class files
from the JAR for inclusion in one of your application JARs.
<h2>Class References vs. Name References</h2>
There are two ways to work with the JGoodies l&f and optional settings:
<p>
1) You refer to JGoodies classes.
This is compile-time safe and less error-prone.
But it requires to import JGoodies classes; and so this can be used
only if you can ensure that the JGoodies Looks are in the classpath at runtime.
<p>2) You can use names/strings.
If you are not sure whether the JGoodies Looks will be available at
runtime, you can choose the l&f and options using names.
<h2>UIManager vs. JGoodies Classes</h2>
You can either specify JGoodies options via the <tt>UIManager</tt> class
or via JGoodies classes, most noticably the <tt>Options</tt> class.
<p>
You can put values for specific keys in the UIManager.
This decouples your application code from the JGoodies implementations,
and so avoids the need to import JGoodies classes in your code.
This is the recommended way, if you cannot (easily) modify your code,
or if you are not allowed to import third party libraries.
<p>
Calling the JGoodies methods enables static compiler checks
and will be the preferred way to set options, if you have
full control over your application code.
<h2>Global vs. Look-Specific Settings</h2>
The JGoodies Windows L&F and the JGoodies Plastic L&F
introduce and share several optional settings. You can find
all global options in class <tt>com.jgoodies.looks.Options</tt>,
and look-specific settings in the particular LookAndFeel
subclasses: <tt>WindowsLookAndFeel</tt>, <tt>PlasticLookAndFeel</tt>,
<tt>Plastic3DLookAndFeel</tt> and <tt>PlasticXPLookAndFeel</tt>.
<h2>Optional Settings</h2>
The JGoodies l&fs introduce several optional l&f properties
and <tt>JComponent</tt> client properties that enable you to tweak your
application's visual appearance. You can find keys and/or accessors
to this optional behavior in class <tt>com.jgoodies.looks.Options</tt>.
<p>The Simple Looks Demo uses several of these settings.
Beyond that, the JGoodies Looks Demo let's you play around with these options.
</td>
</tr>
</table>
<!-- ************ Ende des Inhalts ************************************** -->
</div>
</td>
</tr>
<tr>
<td nowrap="nowrap" bgcolor="F4f3f3">
<div style="font-size: 10px; margin-left: 17px; margin-top: 20px; margin-right: 10px; margin-bottom: 4px;">
(c) 2012 JGoodies
</div>
</td>
<td width="1" bgcolor="E7E5E5"></td>
<td> </td>
</tr>
<tr>
<td colspan="2" height="1" bgcolor="E7E5E5"></td>
<td></td>
</tr>
</table>
</body>
</html>
|