[Galkon's]Adding style to the Jframe (like Bluurs)
This adds a colorful theme to the Jframe if you didn't like the default style.
First of all download this file.
Theme.jar
Add that to your main directory.
Next open up Jframe.java
find
Code:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
replace it with this
Code:
UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceChallengerDeepLookAndFeel");
Now lets look at the code.
skin = sets the skin
SubstanceChallengerDeepLookAndFeel = thats the style of the skin. If you want bluurs style as your default change "ChallengerDeep" to "Magma". All you need to change is the stuff after substance but not lookandfeel because every style has that.
Themes and Skins Changing
Open your client and click on the java icon in the jframe. That gives you the option to change the styles and watermarks, etc. This is very useful. If you like a theme very well and want it as the default, change it in the code.
Code:
UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceTHEMENAMEHERELookAndFeel");
Heres a pic of the Jframe. This is the ChallengerDeep theme.
http://i656.photobucket.com/albums/u...738/Jframe.png
EDIT:
You may need to change your run.bat to this.
Code:
@echo off
TITLE Client
java -Xmx1000m -cp .;Theme.jar client 0 0 lowmem members 32
pause