java - Use Darcula LAF in JFrame -


i have darcula laf installed in netbeans, , functional. modifies way ide looks way applications in 'preview design' popup , gui builder.

here example.

however, , feel doesn't stay when running application.

here example.

the installed , feels listed using code

for (javax.swing.uimanager.lookandfeelinfo info : javax.swing.uimanager.getinstalledlookandfeels()) {             system.out.println(info.getname());         } 

clearly, darcula laf installed. however, isn't showing installed compiler. there way me laf compiler while maintaining netbeans module?

i have looked on download page, github page, , geertjan's blog information on subject, have found nothing related this.

i'm sure i'm missing painfully obvious. not setting , feel has default metal, , using os default , feel doesn't resolve issue, either.

all appreciated, apologize if incorrectly formatted.

edit: set nimbus in code clarity. have screenshots of how reacts when isn't set nimbus. defaults metal. have removed code sets nimbus before, , uses metal. http://prntscr.com/bte2xg have set use "darcula" rather nimbus in past, , yet still uses metal. http://prntscr.com/bte2b5

i have set use "darcula-1.0.0" rather nimbus in past, , yet still uses metal. http://prntscr.com/bte3nh

i have set use "darcula-1.0.0.jar" rather nimbus in past, , yet still uses metal. http://prntscr.com/bte42m

i have set use "com.bulenkov.darcula" in past, , yet still uses metal. http://prntscr.com/bte3du

i merely left nimbus in there sake of appearing in presentable.

    (javax.swing.uimanager.lookandfeelinfo info : javax.swing.uimanager.getinstalledlookandfeels()) {         system.out.println(info.getname());         if ("nimbus".equals(info.getname())) {             javax.swing.uimanager.setlookandfeel(info.getclassname());             break;         }     } 

your code telling java use nimbus -- nimbus use regardless of other l&f installed. if want use l&f, rid of line installs nimbus l&f , replace yours.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -