Hi,
I created my own LookAndFeel as subpackage in my application. To set it I did the following:
programmatically in the start class (dbgui.Start) I wrote:
package dbgui;
.....
public static void....
UIManager.setLookAndFeel("dbgui.modellooks.MotifSpecial");
On the commandline I wrote:
java -Dswing.defaultlaf=dbgui.modellooks.MotifSpecial dbgui.Start
In a recommendation of John Zukowskis "definitive guide to swing for java 2" the commandline has to look as follows:
java -Xbootclasspath:HomeOfJsk\jre\lib\rt.jar;HomeDirectoryOfLookAndFeel
Dswing.defaultlaf=dbgui.modellooks.MotifSpecial dbgui.Start
But it functions without writing the Xbootclasspath in most cases. Can anyone tell me, why? In which cases do I have to use this statement additionally?
Thanks for your help,
liliana