Changing theme (look & feel) in ICAN505 Enterprise designer

Hello

I'm running different Enterprise designers against different repositories and I would like the GUI to appear in different "styles", to make it easier for me to recognise what ED/repository I'm running against.

I have identified the possibility to provide the alloy.theme parameter on the command line in runed.bat but I don't seam to get the hang of it.

Any help would be much appreciated.

Best regards

[443 byte] By [Faldoa] at [2007-11-26 22:32:22]
# 1

It's very easy. Navigate to edesigner\jdk\jre\lib\ext. Copy alloy.jar, the jar file for the alloy look and feel into this folder. Also, add a jar file containing a text file alloy.properties. This properties file would look like the following:

alloy.theme=bedouin

alloy.isLookAndFeelFrameDecoration=true

change the alloy.theme property for your various environments.

And add a file called swing.properties under edesigner\jdk\jre\lib folder. the sample swing.properties would look like:

swing.installedlafs = motif,windows,metal,mac,alloy

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.mac.name = Mac

swing.installedlaf.mac.class = com.sun.java.swing.plaf.mac.MacLookAndFeel

swing.installedlaf.alloy.name = Alloy

swing.installedlaf.alloy.class = com.incors.plaf.alloy.AlloyLookAndFeel

swing.defaultlaf=com.incors.plaf.alloy.AlloyLookAndFeel

Start eDesigner to see the change....

Have fun....

Mac.

Mac@UKa at 2007-7-10 11:38:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...