cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Windows look and feel for ModelManager 20.2 upwards

thollerweger
10-Marble

Windows look and feel for ModelManager 20.2 upwards

Hello,

until ModelManager 20.1 we had an option to switch to windows-like look and feel.

In run.bat:

set JVM_ARGS=%JVM_ARGS% -Dswing.defaultlaf=com.osm.ui.laf.ptc.PtcLaf

With 20.2 this switch no longer works.

Structure Tree MM 20-3.png

 

Input fields MM 20-3.png

Does anyone know if there is a new switch to get what I want?

 

Thanks!

1 REPLY 1

As far as I know and as I experimented with MM 20.3:

- there are just 2 LAF delivered by PTC:

  -Dswing.defaultlaf=com.osm.ui.laf.xplookandfeel.XPLookAndFeel: this one looks like the former one, but it does not implement the quick access tool bar and the quick search. The same LAF didn't in 20.1.

 -Dswing.defaultlaf=com.osm.ui.laf.ptc.PtcLaf: the default one. It implements the quick access tool bar and the quick search, but does not look like the former one for some details.

Alternatively you may use some other LAF delivered in your java SDK

-Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
-Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel
-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel

But none implements the Model Manager quick access tool bar and the quick search.

 

Why does PtcLaf changed the cosmetics with MM 20.2?

Announcements


Top Tags