MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / setSystemLookAndFeel

Method setSystemLookAndFeel

ij/src/main/java/ij/util/Java2.java:49–56  ·  view source on GitHub ↗

Sets the Swing look and feel to the system look and feel (Windows only).

()

Source from the content-addressed store, hash-verified

47
48 /** Sets the Swing look and feel to the system look and feel (Windows only). */
49 @AstroImageJ(reason = "update keymapping on mac for copy/paste", modified = true)
50 public static void setSystemLookAndFeel() {
51 if (!IJ.isWindows())
52 return;
53 try {
54 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
55 } catch(Throwable t) {}
56 }
57
58 /** Sets the Swing look and feel. */
59 @AstroImageJ(reason = "update keymapping on mac for copy/paste", modified = true)

Callers 6

jSaveMethod · 0.95
openMultipleMethod · 0.95
jOpenMethod · 0.95
initMethod · 0.95

Calls 2

isWindowsMethod · 0.95
setLookAndFeelMethod · 0.45

Tested by

no test coverage detected