RE: External monitors.

2023-01-13 Thread marc.bendana
Hi, What do you mean by “external monitor” ? I work on a Windows computer (not a laptop) with 3 screens so would you say that I have 3 monitors or 3 three external monitors ? This piece of code: GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevi

RE: [RCP] Setting Window Dimensions and LAF

2022-04-09 Thread marc.bendana
Hi, For FlatLAF in a RCP application, this code will work : boolean themeDark = true; String lafClassName = themeDark ? "com.formdev.flatlaf.FlatDarkLaf" : "com.formdev.flatlaf.FlatLightLaf"; NbPreferences.root().node( "laf" ).put( "laf", lafClassName); // Restart the applic