MCPcopy Create free account
hub / github.com/Garten/sourcecraft / setLookAndFeel

Method setLookAndFeel

src/gui/Gui.java:319–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

317 }
318
319 private void setLookAndFeel() {
320 try {
321 for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
322 if ("Nimbus".equals(info.getName())) {
323 UIManager.setLookAndFeel(info.getClassName());
324 UIManager.put("control", Color.WHITE); // overall background
325 break;
326 }
327 }
328 } catch (Exception e) {
329 }
330 }
331
332 /**
333 * Initialize the contents of the frame.

Callers 1

initializeMethod · 0.95

Calls 3

equalsMethod · 0.45
getNameMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected