java - Swing L&F - Import and implementation -


i built game on java , want make looks better, used default "nimbus" lookandfeel it's not enough. tried install other themes building .jar files class path didn't work times tried showed kinds of messages, maybe i'm doing wrong. grateful if explain me how make work!

you can in way. add classpath theme want. search , copy qualified name and, finally, this:

    try {         uimanager.setlookandfeel("javax.swing.plaf.nimbus.nimbuslookandfeel");         //uimanager.setlookandfeel(uimanager.getsystemlookandfeelclassname());         //uimanager.setlookandfeel("set.qualified.name.here");     } catch (classnotfoundexception | instantiationexception             | illegalaccessexception | unsupportedlookandfeelexception e) {         e.printstacktrace();     } 

Comments

Popular posts from this blog

How can we post XML strings along with text strings in iOS -

How to run C# code using mono without Xamarin in Android? -

c# - cefsharp app remember password option -