Change JAVA SWING GUI JFrame look and feel with Jtattoo library
This kind of looks and feels are not used anymore, JavaFX platform has take the place in this days, we are talking about Scene-Builder "GLUON", but there is some student out there still do some mini-project and manipulate with SWING GUI the standard toolkit for Java developer and in this tutorial we are going to see a simple Library called JTattoo a look and feel library for SWING based applications. that provide some nice windows themes (Acryl -Aero - Aluminium - Bernstein - Fast HiFi - McWinLookAndFeel - MintLookAndFeel - Noire - Smart - Luna - Texture), visit there website here http://www.jtattoo.net/index.html for more information and release.
Steps :
1 - Download the library for JTattoo jar file here : http://www.jtattoo.net/Download.html
2 - Create new project on Netbeans IDE and choose the jFrame Form.
3 - Copy and Past this code :
com.jtattoo.plaf.acryl.AcrylLookAndFeel.setTheme("Green", "INSERT YOUR LICENSE KEY HERE", "Company");
JTattoo Themes :
- Theme 1 : Dark "Noir"
UIManager.setLookAndFeel["com.jtattoo.plaf.noire.NoireLookAndFeel"];
- Theme 2 : Arcy
UIManager.setLookAndFeel["com.jtattoo.plaf.acryl.AcrylLookAndFeel"];
- Theme 3 : Texture
UIManager.setLookAndFeel["com.jtattoo.plaf.texture.TextureLookAndFeel"];
- Theme 4 : Smart
UIManager.setLookAndFeel["com.jtattoo.plaf.smart.SmartLookAndFeel"];
Comments
Post a Comment