java - How to use third party themes in swing application? -


i want use third party themes (like synthetica http://www.javasoft.de/synthetica/themes/) in swing appliaction. using eclipse ide, got jar file of theme , did following modification(according readme file theme) in code

try    {          uimanager.setlookandfeel(new syntheticablackmoonlookandfeel());   }    catch (exception e)    {    e.printstacktrace();   } 

but after modification showing following error

 type de.javasoft.plaf.synthetica.syntheticalookandfeel cannot resolved. indirectly referenced required .class files 

what mean? tried searching on net cant find useful answers

contents of readme file:

system requirements ===================  java se 5 (jre 1.5.0) or above synthetica v2.2.0 or above  integration ===========  1. ensure classpath contains synthetica libraries (including    synthetica's core library 'synthetica.jar').  2. enable synthetica , feel @ startup time in application:      import de.javasoft.plaf.synthetica.syntheticablackmoonlookandfeel;      try      {       uimanager.setlookandfeel(new syntheticablackmoonlookandfeel());     }      catch (exception e)      {       e.printstacktrace();     }     

it means missing dependant classes. if @ requirements requires "synthetica standard , feel"

you can download here


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -