continue work on file transfer.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@6214 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-11-22 23:19:29 +00:00
committed by derek
parent ecc9099f66
commit 4ba6856bae
8 changed files with 165 additions and 80 deletions

View File

@ -120,7 +120,8 @@ public final class Spark {
JFrame.setDefaultLookAndFeelDecorated(true);
File skinDir = new File(Spark.getBinDirectory().getParent(), "xtra/skins").getAbsoluteFile();
File defaultSkin = new File(skinDir, "crystal2themepack.zip");
Skin theSkinToUse = SkinLookAndFeel.loadThemePack(defaultSkin.toURL());
//Skin theSkinToUse = SkinLookAndFeel.loadThemePack(defaultSkin.toURL());
Skin theSkinToUse = SkinLookAndFeel.loadThemePackDefinition(new File("c:\\craploa\\crystal\\skinlf-themepack.xml").toURL());
SkinLookAndFeel.setSkin(theSkinToUse);
// finally set the Skin Look And Feel