Java- Can't apply Java Look and Feel

前端 未结 2 1844
北恋
北恋 2021-01-23 12:51

I\'m using Synthetica Look and Feel in my application and it works fine on Eclipse. But when i export the Jar file and execute it i got these errors :

Exception          


        
2条回答
  •  忘掉有多难
    2021-01-23 13:28

    Please see the error it can't find the sun/swing/plaf/synth/SynthUI Library. In development mode You are include that jar file in eclipse library but when you are create a jar file then you are not include the Synthui theme jar. Put that Synthui jar file in jar, ext/ folder and it work fine

提交回复
热议问题