About L&F

Is it possible (how) to add new look n feels to Idea 5 ?
And when choosing "metal" why isn't it the new java 1.5 improved metal
look n feel?

Thanks!

BoD

2 comments
Comment actions Permalink

Put the jar of the L&F into IDEA/lib and IDEA/jre/lib/ext and create a file swing.properties in IDEA/jre/lib/
swing.installedlafs = motif,windows,metal,squareness
swing.installedlaf.motif.name = CDE/Motif
swing.installedlaf.motif.class = com.sun.java.swing.plaf.motif.MotifLookAndFeel
swing.installedlaf.windows.name = Windows
swing.installedlaf.windows.class = com.sun.java.swing.plaf.windows.WindowsLookAndFeel
swing.installedlaf.metal.name = Metal
swing.installedlaf.metal.class = javax.swing.plaf.metal.MetalLookAndFeel
swing.installedlaf.squareness.name = Squareness
swing.installedlaf.squareness.class = net.beeger.squareness.SquarenessLookAndFee

For each look and feel you have to add a pair
swing.installedlaf..name and swing.installedlaf..class and don't forget to add ]]> to the list swing.installedlafs.
The above swing.properties defines the standard L&F's on Windows and the additional Squareness Look And Feel.

Now you should be able to change the look and feel to your newly installed one in the Appearance settings.

Cheers,
Robert

BTW: Don't know how to get Metal Ocean or what it's called into this list. I don't like it's look.

0
Comment actions Permalink

Thank you very much :)

BoD

0

Please sign in to leave a comment.