MCPcopy Create free account
hub / github.com/BaseXdb/basex / splash

Method splash

basex-core/src/main/java/org/basex/BaseXGUI.java:95–106  ·  view source on GitHub ↗

Creates a splash screen. @return splash screen

()

Source from the content-addressed store, hash-verified

93 * @return splash screen
94 */
95 private static JFrame splash() {
96 final JFrame f = new JFrame();
97 f.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
98 f.setAlwaysOnTop(true);
99 f.setUndecorated(true);
100 f.setIconImage(BaseXImages.get("logo_small"));
101 f.add(new JLabel(BaseXImages.icon("logo_large")));
102 f.pack();
103 f.setLocationRelativeTo(null);
104 f.setVisible(true);
105 return f;
106 }
107
108 /**
109 * Initializes the GUI.

Callers 1

BaseXGUIMethod · 0.95

Calls 5

getMethod · 0.95
iconMethod · 0.95
setVisibleMethod · 0.80
addMethod · 0.65
packMethod · 0.45

Tested by

no test coverage detected