• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to use winlaf  RSS feed

 
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded winlaf.jar to test another l&f.
I have put thid jar in my class path and inside the main method I have wrote:
public static void main(String[ ] arg) {
net.java.plaf.LookAndFeelPatchManager.initialize();
// some code to create my frame
but the GUI dosen't change, so what I must do ?
 
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't test it, but according to How to set the Look and Feel section in the Java Tutorial, once an external LAF has been placed in the classpath, it can be treated as the others. Thus try
 
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!