PageRenderTime 218ms CodeModel.GetById 60ms app.highlight 110ms RepoModel.GetById 21ms app.codeStats 1ms

/lib/tinylaf_mp/readme.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 1082 lines | 1046 code | 36 blank | 0 comment | 0 complexity | f700cc75536d6b8e5bfecf1d774d4c9d MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1<html>
  2<head>
  3<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  4<title>TinyLaF ReadMe</title>
  5<style type="text/css">
  6p,body,#normal  {font-size:13px;
  7	line-height:17px;
  8	color:#001F66;
  9	font-family:Arial,Geneva,Verdana,Helvetica,sans-serif;}
 10b {color:#4F6390;}
 11H4 { color:#4A65A2; }
 12code {font-size:13px;
 13	line-height:17px;
 14	color:#001F66;
 15	font-family:Courier, monospaced;}
 16strong {color:#F3F4F6;}
 17body { margin-left:48px; margin-right:48px; margin-top:0px; margin-bottom:16px }
 18</style>
 19</head>
 20
 21<body bgcolor="#F3F4F6">
 22<a name="top"></a>
 23<br>
 24<b>TinyLaF beta 1.4.0</b>&nbsp;&nbsp;<code>(2009-8-25)</code>
 25<br><br>
 26The latest version of TinyLaF can be found at <a href="http://www.muntjak.de/hans/java/tinylaf/">http://www.muntjak.de/hans/java/tinylaf/</a>
 27<br><hr><br>
 28
 29<b>Content</b>
 30<br><br>
 31<a href="#package">The TinyLaF package</a><br>
 32<a href="#license">License</a><br>
 33<a href="#jre">Required JRE</a><br>
 34<a href="#build">Ant build files</a><br>
 35<a href="#control">Running the TinyLaF control panel</a><br>
 36<a href="#current">Making TinyLaF the current LookAndFeel</a><br>
 37<a href="#default">The default theme</a><br>
 38<a href="#unicode">Unicode Fonts</a><br>
 39<a href="#decorated">Decorated frames and dialogs</a><br>
 40<a href="#bundle">How to bundle tinylaf.jar with your packed application</a><br>
 41<a href="#webstart">TinyLaF and Java Web Start</a><br>
 42<a href="#switch">Theme switching</a><br>
 43<a href="#sortable">Sortable table data with TinyLaF</a><br>
 44<a href="#history">History</a>&nbsp;&nbsp;
 45&nbsp;&nbsp;<a href="#140">1.4.0</a>
 46&nbsp;&nbsp;<a href="#138">1.3.8</a>
 47&nbsp;&nbsp;<a href="#137">1.3.7</a>
 48&nbsp;&nbsp;<a href="#136">1.3.6</a>
 49&nbsp;&nbsp;<a href="#135">1.3.5</a>
 50&nbsp;&nbsp;<a href="#134">1.3.4</a>
 51&nbsp;&nbsp;<a href="#133">1.3.3</a>
 52&nbsp;&nbsp;<a href="#132">1.3.2</a>
 53&nbsp;&nbsp;<a href="#131">1.3.1</a>
 54&nbsp;&nbsp;<a href="#130">1.3.0</a>
 55&nbsp;&nbsp;<a href="#121">1.2.1</a>
 56&nbsp;&nbsp;<a href="#120">1.2.0</a>
 57&nbsp;&nbsp;<a href="#110">1.1.0</a><br>
 58<a href="#issues">Known issues</a><br>
 59<a href="#thanks">Thanks ...</a><br>
 60<a href="#contact">Contact the author</a>
 61<br><hr>
 62
 63<a name="package"></a>
 64<br>
 65<b>The TinyLaF package</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
 66<br><br>
 67Source distribution:<br>
 68<code>&nbsp;&nbsp;help</code> - contains the files of the online help, used by Ant.<br>
 69<code>&nbsp;&nbsp;license</code> - contains copies of the GNU General Public License and the GNU Lesser General Public License.<br>
 70<code>&nbsp;&nbsp;src</code> - contains the TinyLaF sources.<br>
 71<code>&nbsp;&nbsp;themes</code> - contains some TinyLaF theme files, used by Ant.<br>
 72<code>&nbsp;&nbsp;build.xml</code> - an <a href="#build">Ant build file</a> to build the TinyLaF binaries.<br>
 73<code>&nbsp;&nbsp;javadoc.xml</code> - an <a href="#build">Ant build file</a> to extract the javadoc documentation.<br>
 74<code>&nbsp;&nbsp;manifest.txt</code> - the manifest for <code>tinycp.jar</code>, used by Ant.<br>
 75<code>&nbsp;&nbsp;readme.html</code> - this file.<br>
 76<code>&nbsp;&nbsp;tinycp.xml</code> - an <a href="#build">Ant build file</a> to build the TinyLaF binaries including the control panel.<br>
 77<br>
 78Binary distribution:<br>
 79<code>&nbsp;&nbsp;docs</code> - contains the javadoc documentation.<br>
 80<code>&nbsp;&nbsp;license</code> - contains copies of the GNU General Public License and the GNU Lesser General Public License.<br>
 81<code>&nbsp;&nbsp;readme.html</code> - this file.<br>
 82<code>&nbsp;&nbsp;tinycp.jar</code> - an executable JAR containing the Tiny Look and Feel and the TinyLaF control panel.<br>
 83<code>&nbsp;&nbsp;tinylaf.jar</code> - the Tiny Look and Feel (without the control panel).
 84<br><br>
 85<table border=1 cellpadding=4 cellspacing=0>
 86<tr><td bgcolor="#F4F3DF"><font id="normal">
 87<b>Note</b>: <code>tinycp.jar</code> is equivalent to <code>tinylaf.jar</code> of previous releases whereas the new <code>tinylaf.jar</code> is less than half the size and doesn't contain the control panel. For minimum file size, <code>tinylaf.jar</code> is compiled without debugging information.
 88</font>
 89</td></tr>
 90</table>
 91<br><hr>
 92
 93<a name="license"></a>
 94<br>
 95<b>License</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
 96<br><br>
 97The TinyLaF source code is released under the terms of the <a href="http://www.gnu.org/licenses/lgpl.html">GNU Lesser General Public License</a>.
 98<br><hr>
 99
100<a name="jre"></a>
101<br>
102<b>Required JRE</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
103<br><br>
1041.4.0 or later. Recommended: 1.4.2 or later.
105<br><hr>
106
107<a name="build"></a>
108<br>
109<b>Ant build files</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
110<br><br>
111The source distribution contains three Ant buildfiles.
112<br><br>
113To build <code>tinylaf.jar</code>, <code>cd</code> to the TinyLaF directory and execute:
114<br>
115<code>&nbsp;&nbsp;&gt; ant</code>
116<br><br>
117To build the executable <code>tinycp.jar</code>, <code>cd</code> to the TinyLaF directory and execute:
118<br>
119<code>&nbsp;&nbsp;&gt; ant -f tinycp.xml</code>
120<br><br>
121To build the javadoc documentation, <code>cd</code> to the TinyLaF directory and execute:
122<br>
123<code>&nbsp;&nbsp;&gt; ant -f javadoc.xml</code>
124<br>
125(this command will create a new <code>docs</code> directory)
126<br><hr>
127
128<a name="control"></a>
129<br>
130<b>Running the TinyLaF control panel</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
131<br><br>
132Using the control panel you can create and save your own themes.
133<br><br>
134To start the control panel, either double-click <code>tinycp.jar</code> or <code>cd</code> to the TinyLaF directory and execute:
135<br>
136<code>&nbsp;&nbsp;&gt; java -jar tinycp.jar</code>
137<br><hr>
138
139<a name="current"></a>
140<br>
141<b>Making TinyLaF the current LookAndFeel</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
142<br><br>
143To make TinyLaF the current LAF of your application, include this line:
144<br><br>
145<code>UIManager.setLookAndFeel(&quot;de.muntjak.tinylookandfeel.TinyLookAndFeel&quot);</code>
146<br><br>
147at the beginning of your <code>main</code> method (you will have to catch any exceptions).
148<br>
149(Additional ways to define the LAF can be found at <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/UIManager.html">Sun's Java documentation</a>)
150<br><br>
151Here is my complete install sequence:
152<br><br>
153<table border=1 cellpadding=4 cellspacing=0>
154<tr><td bgcolor="#FFFFFF"><font id="normal"><code>
155Toolkit.getDefaultToolkit().setDynamicLayout(true);<br>
156System.setProperty("sun.awt.noerasebackground", "true");<br>
157JFrame.setDefaultLookAndFeelDecorated(true);<br>
158JDialog.setDefaultLookAndFeelDecorated(true);<br>
159<br>
160try {<br>
161&nbsp;&nbsp;&nbsp;&nbsp;UIManager.setLookAndFeel(&quot;de.muntjak.tinylookandfeel.TinyLookAndFeel&quot);<br>
162} catch(Exception ex) {<br>
163&nbsp;&nbsp;&nbsp;&nbsp;ex.printStackTrace();<br>
164}</code>
165</td></tr>
166</table>
167<br><hr>
168
169<a name="default"></a>
170<br>
171<b>The default theme</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
172<br><br>
173TinyLaF looks for a default theme file named <code>'Default.theme'</code> (case-sensitive). If it finds one, this
174file will be loaded at startup.
175<br>
176(The <code>'Default.theme'</code> file is an ordinary TinyLaF .theme file, just with a special name, you can take any .theme file and rename it to <code>'Default.theme'</code>).
177<br><br>
178TinyLaF will search the following URLs:
179<br>
180<ol>
181<li><code>TinyLookAndFeel.class.getResource("/Default.theme");</code><br>
182- finds <code>'Default.theme'</code> if it is inside <code>tinylaf.jar</code><br>
183<li><code>Thread.currentThread().getContextClassLoader().getResource("Default.theme");</code><br>
184- finds <code>'Default.theme'</code> if it is inside your application's JAR<br>
185<li><code>new File(System.getProperty("user.home"), "Default.theme").toURI().toURL();</code><br>
186- finds <code>'Default.theme'</code> if it is inside the home directory<br>
187<li><code>new File(System.getProperty("user.dir"), "Default.theme").toURI().toURL();</code><br>
188- finds <code>'Default.theme'</code> if it is inside the working directory
189</ol>
190<hr>
191
192<a name="unicode"></a>
193<br>
194<b>Unicode Fonts</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
195<br><br>
196By default, TinyLaF specifies the 'Tahoma' font to be used by text components. 'Tahoma' is a relatively small font with a relatively small number of glyphs. The supplied 'Unicode' theme specifies the 'SansSerif' font (a logical Java font) instead of the 'Tahoma' font. To make it the default theme, follow the instructions given in the <a href="#default">The default theme</a> section. Alternatively you can make any theme Unicode-compliant by specifying a Unicode font for both 'Fonts | Plain Font' and 'Fonts | Bold Font'.
197<br><hr>
198
199<a name="decorated"></a>
200<br>
201<b>Decorated frames and dialogs</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
202<br><br>
203To try the 'Decorated Frames' feature, include the following two lines (or maybe just one) in your source code <em>before</em> the first frame is made visible:
204<br><br>
205<table border=1 cellpadding=4 cellspacing=0>
206<tr><td bgcolor="#FFFFFF"><font id="normal">
207&nbsp;&nbsp;&nbsp;&nbsp;<code>JFrame.setDefaultLookAndFeelDecorated(true);	// to decorate frames</code><br>
208&nbsp;&nbsp;&nbsp;&nbsp;<code>JDialog.setDefaultLookAndFeelDecorated(true);	// to decorate dialogs</code>
209</td></tr>
210</table>
211<br>
212To eliminate flickering on resize (decorated frames only), include this code before you set the LAF:
213<br><br>
214<table border=1 cellpadding=4 cellspacing=0>
215<tr><td bgcolor="#FFFFFF"><font id="normal">
216&nbsp;&nbsp;&nbsp;&nbsp;<code>// continuous layout on frame resize</code><br>
217&nbsp;&nbsp;&nbsp;&nbsp;<code>Toolkit.getDefaultToolkit().setDynamicLayout(true);</code><br>
218&nbsp;&nbsp;&nbsp;&nbsp;<code>// no flickering on resize</code><br>
219&nbsp;&nbsp;&nbsp;&nbsp;<code>System.setProperty("sun.awt.noerasebackground", "true");</code>
220</td></tr>
221</table>
222<hr>
223
224<a name="bundle"></a>
225<br>
226<b>How to bundle tinylaf.jar with your packed application</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
227<br><br>
228When JARing your application you should specify the <em>relative</em> path to <code>tinylaf.jar</code> as (one) value of the manifest's <code>Class-Path</code> attribute.
229<br><br>
230If you are new to manifest files:
231<br><br>
232The first line should specify the <em>manifest version</em> (until now there's only version 1.0):<br>
233<code>Manifest-Version: 1.0</code>
234<br><br>
235The second line specifies the <em>main class</em> of your application, providing its fully-qualified class name:<br>
236<code>Main-Class: package1.package2.YourMainClass</code>
237<br><br>
238The third line should read like this (<code>tinylaf.jar</code> resides in <code>lib</code> directory):<br>
239<code>Class-Path: lib/tinylaf.jar</code>
240<br><br>
241The fourth (last) line MUST be a blank line.
242<br><br>
243When JARing your application, you say:<br>
244<code>&gt; jar cmf nameOfManifestFile nameOfJar contentsOfJar ...</code>
245<br><br>
246What you get is an executable JAR which automatically finds <code>tinylaf.jar</code> if the directory layout is as follows:<br>
247<code>&nbsp;&nbsp;.../applicationDirectory/nameOfJar.jar</code><br>
248<code>&nbsp;&nbsp;.../applicationDirectory/lib/tinylaf.jar</code>
249<br><hr>
250
251<a name="webstart"></a>
252<br>
253<b>TinyLaF and Java Web Start</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
254<br><br>
255TinyLaF should work with Java Web Start without <code>tinylaf.jar</code> needing to be signed (but note: if one of your JARs needs to be signed, you must also sign <code>tinylaf.jar</code>).
256<br><br>
257Because, in general, the <code>'Default.theme'</code> file will not be inside <code>tinylaf.jar</code> you may want
258to give <code>tinylaf.jar</code> the attribute <code>download="lazy"</code> in your JNLP file (so the JAR including
259the <code>'Default.theme'</code> file loads <em>before</em> <code>tinylaf.jar</code>).
260<br><hr>
261
262<a name="switch"></a>
263<br>
264<b>Theme switching</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
265<br><br>
266All predefined themes (YQ, Forest, Golden, Nightly, Plastic, Silver and Unicode) are now included in the JAR file. Additionally Tiny searches both the user directory and the working directory for theme files.<br>
267<code>Theme.getAvailableThemes()</code> returns an array of <code>ThemeDescription</code> objects. Once you have obtained the array, you can call <code>ThemeDescription.getName()</code> for each object to build a menu presenting the available themes. As a user selects a <code>ThemeDescription</code>, you can pass it as argument to <code>Theme.loadTheme(ThemeDescription)</code>.
268<br><br>
269After loading a theme, you should re-install the Tiny Look and Feel and recreate the ui:
270<br><br>
271<table border=1 cellpadding=4 cellspacing=0>
272<tr><td bgcolor="#FFFFFF"><font id="normal">
273<code>
274// re-install the Tiny Look and Feel<br>
275UIManager.setLookAndFeel(new TinyLookAndFeel());<br>
276<br>
277// Update the ComponentUIs for all Components. This<br>
278// needs to be invoked for all windows.<br>
279SwingUtilities.updateComponentTreeUI(rootComponent);
280</<code>
281</td></tr>
282</table>
283<br>
284(The javadoc documentation of the <code>Theme</code> class contains more information on theme switching.)
285<br><hr>
286
287<a name="sortable"></a>
288<br>
289<b>Sortable table data with TinyLaF</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
290<br><br>
291Since version 1.3.6 TinyLaF supports sortable table data (user can sort column values by clicking inside the column header). Sortable column headers visualize rollovers and display up/down arrows. TinyLaF supports single-column sort and multi-column sort.
292<br><br>
293<table border=1 cellpadding=4 cellspacing=0>
294<tr><td bgcolor="#F4F3DF"><font id="normal">
295<b>Note</b>: Of course you can also use the sorting capabilities that came with Java 1.6 with TinyLaF.
296</font>
297</td></tr>
298</table>
299<br>
300To make table data sortable, a <code>TableModel</code> must <code>implement de.muntjak.tinylookandfeel.table.SortableTableData</code>, here are the interface methods:
301<br><br>
302<table border=1 cellpadding=4 cellspacing=0>
303<tr><td bgcolor="#FFFFFF"><font id="normal">
304<PRE>boolean <B>isColumnSortable</B>(int&nbsp;column)</PRE>
305<DL>
306<DD>Return <code>true</code> if the specified column is sortable, <code>false</code> otherwise. Non-sortable column headers will not react to mouse clicks or rollovers.
307<P>
308<DL>
309<DT><B>Parameters:</B></dt>
310<DD><CODE>column</CODE> - a column index</dd>
311<DT><B>Returns:</B></dt>
312<DD><code>true</code> if the specified column is sortable, <code>false</code> otherwise</dd>
313</DL>
314</DL>
315<HR>
316
317<a name="supportsMultiColumnSort"></a>
318<PRE>boolean <B>supportsMultiColumnSort</B>()</PRE>
319<DL>
320<DD>Return <code>true</code> if the table model supports multiple sorted columns, <code>false</code> otherwise. (Supporting multi column sort makes sense only with columns containing some equal values.)
321<p>
322The TinyLaF user gestures concerning multi column sort are:
323<ul>
324<li><code>Ctrl-Click</code>: If clicked column was already sorted, change sorting direction, else add clicked column to sorted columns.
325<li><code>Alt-Click</code>: If clicked column was already sorted, remove from sorted columns. Ignore if clicked column was not sorted.
326<li><code>Click</code> (without <code>Ctrl</code> or <code>Alt</code>): The clicked column becomes the only sorted column. If the clicked column already was sorted, change sorting direction.
327</ul>
328<P>
329<DL>
330<DT><B>Returns:</B></dt>
331<DD><code>true</code> if the table model supports multiple sorted columns, <code>false</code> otherwise</dd>
332</DL>
333</DD>
334</DL>
335<HR>
336
337<PRE>void <B>sortColumns</B>(int[]&nbsp;columns, int[]&nbsp;sortingDirections, javax.swing.JTable&nbsp;table)</PRE>
338<DL>
339<DD>Sort the data according to the given arguments. If argument arrays are empty, the original state of the data will be restored, if there is no original state then no action will be performed.
340<p>
341Note for implementors: If your data is dynamically changing you should think about storing copies of the arguments so you can re-sort data after each change. It may also be a good idea to call <code>fireTableDataChanged()</code> after sorting (this makes sure that the table is updated).
342<P>
343<DL>
344<DT><B>Parameters:</B></dt>
345<DD><CODE>columns</CODE> - array of column indices sorted by priority (highest priority first).</DD>
346<DD><CODE>sortingDirections</CODE> - array containing the sorting direction for each sorted column. Values are either
347<ul>
348<li><code>SORT_ASCENDING</code> - sort column data in ascending order, or<li><code>SORT_DESCENDING</code> - sort column data in descending order
349</ul>
350</DD>
351<DD><CODE>table</CODE> the table displaying the data. Might be useful, for example, to restore selected cells after sorting.
352</DD>
353</DL>
354</DD>
355</DL>
356</td></tr>
357</table>
358<br>
359The source distribution contains an implementations of this interface, see <code>de.muntjak.tinylookandfeel.controlpanel.TinyTableModel</code> (performing multi-column sort).
360<br><br>
361In class <code>de.muntjak.tinylookandfeel.TinyTableHeaderUI</code> there are two further methods related to sorting.
362<br><br>
363<table border=1 cellpadding=4 cellspacing=0>
364<tr><td bgcolor="#FFFFFF"><font id="normal">
365<PRE>void <B>sortColumns</B>(int[]&nbsp;columns, int[]&nbsp;sortingDirections, javax.swing.JTable&nbsp;table)</PRE>
366<DL>
367<DD>Call this method to programmatically initiate sorting on (sortable) table models. Especially if your data is sorted by default, you should call this method before the table is displayed the first time.</dd>
368<P>
369<DL>
370<DT><B>Parameters:</B></dt>
371<DD><CODE>columns</CODE> - array of column indices sorted by priority (highest priority first)</dd>
372<DD><CODE>sortingDirections</CODE> - array containing the sorting direction for each sorted column. Values are either
373<ul>
374<li><code>de.muntjak.tinylookandfeel.table.SortableTableData.SORT_ASCENDING</code> or <li><code>de.muntjak.tinylookandfeel.table.SortableTableData.SORT_DESCENDING</code>
375</ul>
376</dd>
377<DD><CODE>table</CODE> the table displaying the data</dd>
378<DT><B>Throws:</B></dt>
379<DD><CODE>java.lang.IllegalArgumentException</CODE> - If any of the arguments is <code>null</code> or if <code>columns</code> argument and <code>sortingDirections</code> argument are of different length
380</DD>
381</DL>
382</DL>
383<HR>
384
385<PRE>void <B>setHorizontalAlignments</B>(int[]&nbsp;alignments)</PRE>
386<DL>
387<DD>Sets horizontal alignments of table header renderers where an index in the argument array corresponds to a column index.
388<br>
389Note: If the length of the argument array is less than the number of columns, unspecified columns default to <code>CENTER</code> alignment. If the length of the argument array is greater than the number of columns, surplus information will be ignored.
390<P>
391<DL>
392<DT><B>Parameters:</B>
393<DD><CODE>alignments</CODE> - array of the following constants defined in <code>SwingConstants</code>: <code>LEFT</code>, <code>CENTER</code>, <code>RIGHT</code>, <code>LEADING</code> or <code>TRAILING</code>
394</DD>
395</DL>
396</DL>
397</td></tr>
398</table>
399<br>
400Each table header has its own instance of <code>de.muntjak.tinylookandfeel.TinyTableHeaderUI</code>. You can obtain it with code like this:<br>
401<pre>
402JTable table = new JTable(new MySortableTableModel());
403TableHeaderUI headerUI = table.getTableHeader().getUI();
404
405if(headerUI instanceof TinyTableHeaderUI) {
406    // do your thing ...
407}
408</pre>
409<hr>
410
411<a name="history"></a>
412<br>
413<b>History</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
414<br><br>
415TinyLaF was first released in May 2003. It is based on the XP Look and Feel written by Stefan Krause.
416<br><hr>
417
418<a name="110"></a>
419<br>
420<b>V 1.1.0</b>&nbsp;&nbsp;<code>(2003-6-9)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
421<br><br>
422<table border=0 cellpadding=4 cellspacing=2>
423<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
424<td bgcolor="#DFE6EB"><font id="normal">
425<code>JProgressBar.getFont()</code> returning <code>null</code>. Aditionally one can now set the font of <code>JProgressBar</code>.
426</td></tr>
427<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
428<td bgcolor="#DFE6EB"><font id="normal">
429<code>JProgressBar</code> now displays strings even when in indeterminate mode.
430</td></tr>
431<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
432<td bgcolor="#DFE6EB"><font id="normal">
433Defining TinyLaF as the standard LAF in <code>swing.properties</code> threw exceptions (<code>PanelUI</code> not found).
434</td></tr>
435<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
436<td bgcolor="#DFE6EB"><font id="normal">
437<code>ButtonUI</code> now honours <code>isBorderPainted</code> and <code>isContentAreaFilled</code> properties.
438</td></tr>
439<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
440<td bgcolor="#DFE6EB"><font id="normal">
441Border of <code>JToolBar</code> now isn't painted if set to <code>null</code> or <code>isBorderPainted</code> resolves to <code>false</code>.
442</td></tr>
443<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
444<td bgcolor="#DFE6EB"><font id="normal">
445Border of <code>JTextField</code> and <code>JComboBox</code> now isn't painted if set to <code>null</code>.
446</td></tr>
447<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
448<td bgcolor="#DFE6EB"><font id="normal">
449Due to a bug in <code>BasicProgressBarUI</code> (unfortunately in a private method, caused by a private member) sometimes a <code>NullPointerException</code> was thrown soon after the ControlPanel started. Because this exception is harmless, I decided to catch it.
450<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
451<td bgcolor="#DFE6EB"><font id="normal">
452Removed Popup Font.
453</td></tr>
454<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
455<td bgcolor="#DFE6EB"><font id="normal">
456Added ProgressBar Font together with two additional text colors in Decoration/ProgressBar.
457</td></tr>
458<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
459<td bgcolor="#DFE6EB"><font id="normal">
460File format changed slightly due to previous changes. 1.0-themes can still be loaded, but saved themes are not compatible with TinyLaF-1.0
461</td></tr>
462</table>
463<br><hr>
464
465<a name="120"></a>
466<br>
467<b>V 1.2.0</b>&nbsp;&nbsp;<code>(2003-8-23)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
468<br><br>
469<table border=0 cellpadding=4 cellspacing=2>
470<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
471<td bgcolor="#DFE6EB"><font id="normal">
472Icons for <code>JMenuItem</code>s were painted disabled when menu item was selected.
473</td></tr>
474<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
475<td bgcolor="#DFE6EB"><font id="normal">
476The selection background and selection foreground for text components were both set to white.
477</td></tr>
478<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
479<td bgcolor="#DFE6EB"><font id="normal">
480Double-clicking the title bar of a frame maximized the frame without respect to the screen insets (while clicking the maximize button <em>did</em> respect screen insets).
481</td></tr>
482<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
483<td bgcolor="#DFE6EB"><font id="normal">
484Simplified the paint routine for progress bar border to be faster so it doesn't conflict with the animation speed in <code>javax.swing.plaf.basic.BasicProgressBarUI</code>.
485</td></tr>
486</table>
487<br><hr>
488
489<a name="121"></a>
490<br>
491<b>V 1.2.1</b>&nbsp;&nbsp;<code>(2003-9-29)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
492<br><br>
493<table border=0 cellpadding=4 cellspacing=2>
494<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
495<td bgcolor="#DFE6EB"><font id="normal">
496Bug in Launcher calling wrong LAF class.
497</td></tr>
498<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
499<td bgcolor="#DFE6EB"><font id="normal">
500Now changing to TinyLookAndFeel from another LAF works - changing from TinyLookAndFeel to another LAF still causes problems (certain properties are not updated, I guess this will never be fixed)
501</td></tr>
502<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
503<td bgcolor="#DFE6EB"><font id="normal">
504Before searching "user.dir" for a <code>'Default.theme'</code> file, TinyLaF searches "user.home", e.g. you can set a global default theme if you put it in "user.home".
505</td></tr>
506</table>
507<br><hr>
508
509<a name="130"></a>
510<br>
511<b>V 1.3.0</b>&nbsp;&nbsp;<code>(2004-6-14)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
512<br><br>
513<table border=0 cellpadding=4 cellspacing=2>
514<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
515<td bgcolor="#DFE6EB"><font id="normal">
516Bug with scrollbar button arrows not changing direction when scrollbar orientation changes.
517</td></tr>
518<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
519<td bgcolor="#DFE6EB"><font id="normal">
520<code>ArrayIndexOutOfBoundsException</code> thrown in <code>TinyTabbedPaneUI</code> when trying to remove a tab by manipulating the tab.
521</td></tr>
522<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
523<td bgcolor="#DFE6EB"><font id="normal">
524Sub-menus painting partially above children.
525</td></tr>
526<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
527<td bgcolor="#DFE6EB"><font id="normal">
528<code>JTabbedPane</code> now honours tab background color set with <code>setBackgroundAt(int, Color)</code>.
529</td></tr>
530<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
531<td bgcolor="#DFE6EB"><font id="normal">
532Menus and menu items now honour background and foreground properties set with <code>setBackground(Color)</code> resp. <code>setForeground(Color)</code>. Additionally menus and menu items now are displayed with foreground colors defined in 'Menu Font' resp. 'Menu Item Font' by default.
533</td></tr>
534<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
535<td bgcolor="#DFE6EB"><font id="normal">
536Windows 98 style only: Arrowbuttons of <code>JSpinner</code> now draw themselves correctly.
537</td></tr>
538<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
539<td bgcolor="#DFE6EB"><font id="normal">
540Button margins were calculated without respect to the button border, so a margin of 0 made the button text obscure the border.
541</td></tr>
542<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
543<td bgcolor="#DFE6EB"><font id="normal">
544<code>JToggleButton</code> displayed the default icon instead of the selected icon if model was both selected and rollover.
545</td></tr>
546<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
547<td bgcolor="#DFE6EB"><font id="normal">
548<code>JFormattedTextField</code> of <code>JSpinner</code> editor did loose focus with each click on arrow buttons. Therefore, with <code>SpinnerDateModel</code>, it was not possible to select distinct date fields.
549</td></tr>
550<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
551<td bgcolor="#DFE6EB"><font id="normal">
552If the <code>JFrame.setDefaultLookAndFeelDecorated</code> property is <code>true</code> and the frame is maximized, the frame border now is supressed. This is also true for internal frames.
553</td></tr>
554<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
555<td bgcolor="#DFE6EB"><font id="normal">
556<code>JOptionPane.showInternalXXXDialog()</code> bringing up dialogs which painted no decorations at all.
557</td></tr>
558<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
559<td bgcolor="#DFE6EB"><font id="normal">
560<code>JComboBox</code> now updates its display size as the model changes.
561</td></tr>
562<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
563<td bgcolor="#DFE6EB"><font id="normal">
564Usage in applets: the theme is now reloaded as the applet is reloaded.
565</td></tr>
566<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
567<td bgcolor="#DFE6EB"><font id="normal">
568Editable text fields in <code>ColorChooser</code> now work as expected.
569</td></tr>
570<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
571<td bgcolor="#DFE6EB"><font id="normal">
572The Windows XP style mutated to YQ style, the Windows 98 style mutated to 99 style. The YQ style is now the default style and will run with every operating system. To get rid of copyright issues I decided to replace both Windows 98 and XP icons with a custom icon set. Therefore I improved the algorithm to colorize icons.
573</td></tr>
574<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
575<td bgcolor="#DFE6EB"><font id="normal">
576On startup TinyLaF now displays a message via <code>System.out</code>, reporting the version and the path to the <code>'Default.theme'</code> file.
577</td></tr>
578<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
579<td bgcolor="#DFE6EB"><font id="normal">
580In the past, radio buttons and check boxes painted rather slow. Though both paint more aesthetically now, painting speed increased drastically (by painting icons only once and caching the result - this speeds up painting by a factor of 80 and more).
581</td></tr>
582<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
583<td bgcolor="#DFE6EB"><font id="normal">
584Radio buttons and checkboxes now have an editable margin. Please note: A Metal checkbox (or radio button) has border insets of (2, 2, 2, 2) which adds to the margin of (2, 2, 2, 2), so, if you want a TinyLaF checkbox to behave as a Metal checkbox, you must set its margin to (4, 4, 4, 4).
585</td></tr>
586<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
587<td bgcolor="#DFE6EB"><font id="normal">
588The thumb of a scrollbar now has a minimum height/width of 17 pixels.
589</td></tr>
590<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
591<td bgcolor="#DFE6EB"><font id="normal">
592<code>JComboBox</code> now calculates its preferred size more realistic (and less space-consuming). The rollover border for <code>JComboBox</code> is now disabled by default.
593</td></tr>
594<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
595<td bgcolor="#DFE6EB"><font id="normal">
596The rollover border for <code>JSpinner</code> is now disabled by default.
597</td></tr>
598<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
599<td bgcolor="#DFE6EB"><font id="normal">
600If frames or dialogs are decorated, they now have a minimum width of 104 pixels. Internal frames now have a minimum width of 32 px. Internal frames defined as palettes now can additionally display an iconify and a maximize button. Palette buttons are smaller now than internal frame buttons.
601</td></tr>
602<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
603<td bgcolor="#DFE6EB"><font id="normal">
604You can now define separate title bar fonts for (decorated) frames, internal frames and internal palettes.
605</td></tr>
606<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
607<td bgcolor="#DFE6EB"><font id="normal">
608Buttons are now opaque by default (this was a trick of the <code>XPLookAndFeel</code>). This change doesn't affect rendering of buttons, just the value of the <code>opaque</code> property.<br>
609YQ-Buttons now shift their text if the button is pressed.<br>
610There is an additional flag: "ENTER 'presses' focused button". If it is selected, the ENTER key triggers the buttonPressed action on <code>JButton</code>, <code>JToggleButton</code>, <code>JCheckBox</code> and <code>JRadioButton</code> (same as SPACE key).<br>
611<code>JButton</code>, <code>JToggleButton</code>, <code>JCheckBox</code> and <code>JRadioButton</code> now support a focus border. You can disable this by deselecting 'Paint Focus Border'.
612</td></tr>
613<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
614<td bgcolor="#DFE6EB"><font id="normal">
615Toolbar buttons now have a definable margin and separate backgrounds and borders for their deselected-, rollover-, pressed- and selected state which makes them much more flexible to use.
616</td></tr>
617<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
618<td bgcolor="#DFE6EB"><font id="normal">
619<code>JProgressBar</code> now looks like a WinXP progress bar.
620</td></tr>
621<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
622<td bgcolor="#DFE6EB"><font id="normal">
623Added a <code>SeparatorUI</code> (see Decoration | Separator).
624</td></tr>
625<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
626<td bgcolor="#DFE6EB"><font id="normal">
627Added a <code>PasswordFieldUI</code> (that just duplicates the settings from <code>JTextFieldUI</code>).
628</td></tr>
629<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
630<td bgcolor="#DFE6EB"><font id="normal">
631Added the following UIs which support a default background color: <code>EditorPaneUI</code>, <code>TextPaneUI</code> and <code>DesktopPaneUI</code> (see Decoration | Miscellaneous).
632</td></tr>
633<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
634<td bgcolor="#DFE6EB"><font id="normal">
635<code>JSplitPane</code> now has a divider size of 7 pixels (instead of 6 as before), oneTouchButtons have become smaller.
636</td></tr>
637<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
638<td bgcolor="#DFE6EB"><font id="normal">
639<code>JTree</code> now supports arbitrary text colors. (Note: A <code>JTree</code>'s text color is NOT its foreground color (and not a <code>JTree</code> property at all)). Additionally you can now adjust the line color (see Decoration | Tree).
640</td></tr>
641<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
642<td bgcolor="#DFE6EB"><font id="normal">
643<code>JComboBox</code> now has its own background and foreground colors (see Decoration | ComboBox).
644</td></tr>
645<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
646<td bgcolor="#DFE6EB"><font id="normal">
647Lists now support a background and a foreground color (see Decoration | List).
648</td></tr>
649<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
650<td bgcolor="#DFE6EB"><font id="normal">
651Added support for floatable tool bars (see Decoration | ToolBar).
652</td></tr>
653<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
654<td bgcolor="#DFE6EB"><font id="normal">
655You can now set the colors of toolbar separators (see Decoration | ToolBar).
656</td></tr>
657<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
658<td bgcolor="#DFE6EB"><font id="normal">
659You can now set the colors of popup menu borders (see Decoration | Menu).
660</td></tr>
661<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
662<td bgcolor="#DFE6EB"><font id="normal">
663Added borders for table and table headers (see Decoration | Table). The header border adds an inset of 1 pixel in each direction.
664</td></tr>
665<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
666<td bgcolor="#DFE6EB"><font id="normal">
667Added some colors for disabled tabbed panes (see Decoration | TabbedPane).<br>
668The 'Paint Focus' flag disappeared, instead there is a 'Ignore Selected Bg' flag. If this flag is on, a selected tab will not change background color.<br>
669Tab insets and tab area insets now are editable.<br>
670Added a 'Fixed Tab Positions' flag - it switches from Java-Metal behaviour (the selected tab is always in the lowest tab row) to Windows behaviour (tabs never change positions).
671</td></tr>
672<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
673<td bgcolor="#DFE6EB"><font id="normal">
674Text components now additionally support a caret color.
675</td></tr>
676<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
677<td bgcolor="#DFE6EB"><font id="normal">
678Now you can specify the border, background and foreground colors for disabled tool tips.
679</td></tr>
680<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
681<td bgcolor="#DFE6EB"><font id="normal">
682Combobox button, spinner previous/next buttons and window buttons now are non-focusable. This means, they will not be included in a <code>FocusTraversalPolicy</code>.
683</td></tr>
684<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
685<td bgcolor="#DFE6EB"><font id="normal">
686The <code>JFileChooser</code> dialog is now opened at a larger size so you see more files at a time.
687</td></tr>
688<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
689<td bgcolor="#DFE6EB"><font id="normal">
690File format changed. Pre-1.3-themes can still be loaded, but saved themes are not compatible with TinyLaF versions prior to 1.3.
691</td></tr>
692</table>
693<br><hr>
694
695<a name="131"></a>
696<br>
697<b>V 1.3.1</b>&nbsp;&nbsp;<code>(2004-12-13)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
698<br><br>
699<table border=0 cellpadding=4 cellspacing=2>
700<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
701<td bgcolor="#DFE6EB"><font id="normal">
702Fixed a memory leak introduced in 1.3.0.
703</td></tr>
704</table>
705<br><hr>
706
707<a name="132"></a>
708<br>
709<b>V 1.3.2</b>&nbsp;&nbsp;<code>(2005-6-22)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
710<br><br>
711<table border=0 cellpadding=4 cellspacing=2>
712<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
713<td bgcolor="#DFE6EB"><font id="normal">
714The fix for reloading themes as an applet is reloaded didn't work in 1.3.0 and 1.3.1.
715</td></tr>
716</table>
717<br><hr>
718
719<a name="133"></a>
720<br>
721<b>V 1.3.3</b>&nbsp;&nbsp;<code>(2006-2-6)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
722<br><br>
723<table border=0 cellpadding=4 cellspacing=2>
724<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
725<td bgcolor="#DFE6EB"><font id="normal">
726Popup menu width was too wide when icons were displayed.
727</td></tr>
728</table>
729<br><hr>
730
731<a name="134"></a>
732<br>
733<b>V 1.3.4</b>&nbsp;&nbsp;<code>(2006-4-15)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
734<br><br>
735<table border=0 cellpadding=4 cellspacing=2>
736<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
737<td bgcolor="#DFE6EB"><font id="normal">
738Code for calculating the clicked tab of <code>JTabbedPane</code> (<code>SCROLL_TAB_LAYOUT</code> mode only) didn't work with JRE 1.5. (The only way to make it work was to execute different code dependent on JRE version).
739</td></tr>
740<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
741<td bgcolor="#DFE6EB"><font id="normal">
742Internal frames used a special <code>DesktopManager</code>, now the default <code>DesktopManager</code> is used and <code>DesktopManager</code> methods will be called as expected.
743</td></tr>
744<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
745<td bgcolor="#DFE6EB"><font id="normal">
746<code>JButton</code> text is shifted one pixel right/down as the button is pressed. Now a test is performed if the button's text is <code>null</code> or of zero length and, if it is an icon-only button, no shifting occurs.
747</td></tr>
748<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
749<td bgcolor="#DFE6EB"><font id="normal">
750The control panel has a new checkbox (Decoration | Button | Shift button text) allowing you to disable text shifting for <code>JButton</code>.
751</td></tr>
752<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
753<td bgcolor="#DFE6EB"><font id="normal">
754Added an <code>Ant</code> buildfile to the source distribution (<code>build.xml</code>).
755</td></tr>
756</table>
757<br><hr>
758
759<a name="135"></a>
760<br>
761<b>V 1.3.5</b>&nbsp;&nbsp;<code>(2007-1-28)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
762<br><br>
763<table border=0 cellpadding=4 cellspacing=2>
764<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
765<td bgcolor="#DFE6EB"><font id="normal">
766Bug introduced in 1.3.1 where <code>JProgressBar</code> was not set to opaque and therefore setting the track color had no effect.
767</td></tr>
768<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
769<td bgcolor="#DFE6EB"><font id="normal">
770The &quot;armed&quot; thing of <code>JCheckBox</code> and <code>JRadioButton</code> (click the component, then drag the mouse outside the component's bounds, then drag it back again...) - wonder why noone reported this as being a bug.
771</td></tr>
772<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
773<td bgcolor="#DFE6EB"><font id="normal">
774<code>JSlider</code> now paints a focus indicator. Additionally the shape of the slider thumb now changes dependent on whether ticks are painted or not.
775</td></tr>
776<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
777<td bgcolor="#DFE6EB"><font id="normal">
778<code>JTabbedPane</code> now paints a focus indicator.
779</td></tr>
780<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
781<td bgcolor="#DFE6EB"><font id="normal">
782Added 'Help |Check for Updates...' menu.
783</td></tr>
784<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
785<td bgcolor="#DFE6EB"><font id="normal">
786Improved antialiasing of <code>JRadioButton</code> symbol.
787</td></tr>
788<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
789<td bgcolor="#DFE6EB"><font id="normal">
790<code>JTabbedPane</code>: The default tab font is now plain instead of bold.
791</td></tr>
792<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
793<td bgcolor="#DFE6EB"><font id="normal">
794Font size selectors now display font sizes up to 24 pt.
795</td></tr>
796<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
797<td bgcolor="#DFE6EB"><font id="normal">
798File format changed. Pre-1.3.5 themes can still be loaded, but saved themes are not compatible with TinyLaF versions prior to 1.3.5.
799</td></tr>
800</table>
801<br><hr>
802
803<a name="136"></a>
804<br>
805<b>V 1.3.6</b>&nbsp;&nbsp;<code>(2007-5-6)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
806<br><br>
807<table border=0 cellpadding=4 cellspacing=2>
808<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
809<td bgcolor="#DFE6EB"><font id="normal">
810Problems with menu item mnemonics. If a menu contained at least on sub-menu, it could happen that mnemonics of menu items following the sub-menu were not recognized.
811</td></tr>
812<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
813<td bgcolor="#DFE6EB"><font id="normal">
814In <code>TinyProgressBarUI.installDefaults()</code> i did use a method new in Java 1.5, making TinyLaF non-Java-1.4-compliant. (Introduced in 1.3.5).
815</td></tr>
816<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
817<td bgcolor="#DFE6EB"><font id="normal">
818<code>JSpinner</code> now fires a <code>ChangeEvent</code> each time the user inputs a new value and presses <code>Return</code>.
819</td></tr>
820<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
821<td bgcolor="#DFE6EB"><font id="normal">
822'Alt' key closes opened menus and context menus (not only with Java 1.6 but also with Java 1.4 and 1.5).
823</td></tr>
824<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
825<td bgcolor="#DFE6EB"><font id="normal">
826Implemented support for <a href="#sortable">sortable table data</a>. Three new properties control the appearance of sortable table headers: 'Header Rollover Background', 'Header Rollover Color' and 'Header Arrow Color' (see Decoration | Table).
827</td></tr>
828<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
829<td bgcolor="#DFE6EB"><font id="normal">
830Border of table headers in YQ style now look more like those in WinXP.
831</td></tr>
832<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
833<td bgcolor="#DFE6EB"><font id="normal">
834File format changed. Pre-1.3.6 themes can still be loaded, but saved themes are not compatible with TinyLaF versions prior to 1.3.6.
835</td></tr>
836</table>
837<br><hr>
838
839<a name="137"></a>
840<br>
841<b>V 1.3.7</b>&nbsp;&nbsp;<code>(2007-6-3)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
842<br><br>
843<table border=0 cellpadding=4 cellspacing=2>
844<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
845<td bgcolor="#DFE6EB"><font id="normal">
846The &quot;armed&quot; thing of toolbar buttons (click the button, then drag the mouse outside the button's bounds, then drag it back again...) now works as expected.
847</td></tr>
848<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
849<td bgcolor="#DFE6EB"><font id="normal">
850<code>JComboBox</code>: Arrow buttons were included in focus traversal.
851</td></tr>
852<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
853<td bgcolor="#DFE6EB"><font id="normal">
854ControlPanel: Since v1.3.6 changing border colors of <code>JCheckBox</code> and <code>JRadioButton</code> seemed to have no effect.
855</td></tr>
856<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
857<td bgcolor="#DFE6EB"><font id="normal">
858ControlPanel: Tooltip texts of color fields (&quot;Main Color&quot;, &quot;Background Color&quot;, &quot;Disabled Color&quot; and &quot;Frame Color&quot;) were not updated as themes were switched.
859</td></tr>
860<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
861<td bgcolor="#DFE6EB"><font id="normal">
862On Linux OS, the <code>&quot;FileChooser.readOnly&quot; UIManager</code> property will now be set to <code>true</code> (this disables editing of file names).
863</td></tr>
864<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
865<td bgcolor="#DFE6EB"><font id="normal">
866<code>JFileChooser</code>: The details table now is sortable. Removed the file attributes column. 
867</td></tr>
868<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
869<td bgcolor="#DFE6EB"><font id="normal">
870<code>JFileChooser</code>: The icon-only buttons now look and behave like toolbar buttons.
871</td></tr>
872<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
873<td bgcolor="#DFE6EB"><font id="normal">
874Toolbar buttons: The default margin has changed from <code>Insets(4, 4, 4, 4)</code> to <code>Insets(5, 5, 5, 5)</code>. Also border colors have changed.
875</td></tr>
876<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Changed</b></td>
877<td bgcolor="#DFE6EB"><font id="normal">
878<code>JProgressBar</code> border (<code>JProgressBar</code> is non-opaque again).
879</td></tr>
880</table>
881<br><hr>
882
883<a name="138"></a>
884<br>
885<b>V 1.3.8</b>&nbsp;&nbsp;<code>(2007-6-17)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
886<br><br>
887<table border=0 cellpadding=4 cellspacing=2>
888<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
889<td bgcolor="#DFE6EB"><font id="normal">
890Editable <code>JComboBox</code>: Due to a change in Java 1.5, editable combo box was too high (24 pixels instead of 20 pixels).
891</td></tr>
892</table>
893<br><hr>
894
895<a name="140"></a>
896<br>
897<b>V 1.4.0</b>&nbsp;&nbsp;<code>(2009-8-25)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#top">Top of page</a>
898<br><br>
899<table border=0 cellpadding=4 cellspacing=2>
900<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
901<td bgcolor="#DFE6EB"><font id="normal">
902The &quot;armed&quot; thing of window buttons (click the button, then drag the mouse outside the button's bounds, then drag it back again...) now works as expected.
903</td></tr>
904<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
905<td bgcolor="#DFE6EB"><font id="normal">
906<code>JSpinner</code> arrow buttons: Now spinner value will stop changing if the mouse is dragged out of the arrow button.
907</td></tr>
908<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
909<td bgcolor="#DFE6EB"><font id="normal">
910<code>JMenuBar</code>'s background color is now propagated to top menus.
911</td></tr>
912<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
913<td bgcolor="#DFE6EB"><font id="normal">
914<code>JToolBar</code>'s background color is now propagated to tool bar buttons.
915</td></tr>
916<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
917<td bgcolor="#DFE6EB"><font id="normal">
918<code>JFormattedTextField</code>: Actions specific for formatted text fields are now enabled.
919</td></tr>
920<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
921<td bgcolor="#DFE6EB"><font id="normal">
922<code>JButton</code>: With 'Paint Rollover Border' deselected, buttons didn't change background color on rollover.
923</td></tr>
924<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
925<td bgcolor="#DFE6EB"><font id="normal">
926<code>JButton</code>: If a button's <code>focusPainted</code> property was <code>false</code>, the 'Paint Focus Border' setting had no effect.
927</td></tr>
928<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
929<td bgcolor="#DFE6EB"><font id="normal">
930<code>JScrollBar</code>: If there wasn't enough space to display the thumb at its minimum size, scroll buttons were painted disabled.
931</td></tr>
932<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
933<td bgcolor="#DFE6EB"><font id="normal">
934Sometimes window cursor not restored to default cursor after resize.
935</td></tr>
936<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
937<td bgcolor="#DFE6EB"><font id="normal">
938Bug appearing with 1.6 JREs: Title panes of frames and dialogs not painted.
939</td></tr>
940<tr><td bgcolor="#DFE6EB"><font id="normal"><b>Fixed</b></td>
941<td bgcolor="#DFE6EB"><font id="normal">
942<code>JPasswordField</code> didn't reflect its non-editable state.
943</td></tr>
944<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
945<td bgcolor="#DFE6EB"><font id="normal">
946There now is a javadoc API documentation. It documents how to switch themes and how to implement sortable table models.
947</td></tr>
948<tr><td bgcolor="#DFE6EB"><font id="normal"><b>New</b></td>
949<td bgcolor="#DFE6EB"><font id="normal">
950Refactored the TinyLaF classes so it is possible to build the Tiny look and feel wi…

Large files files are truncated, but you can click here to view the full file