List of utility methods to do Window
JWindow | showMessageWindow(String message, JWindow parent) show Message Window JWindow jw = new JWindow(parent); JLabel jl = new JLabel(message); jl.setFont(new java.awt.Font("Dialog", 1, 36)); jw.getContentPane().add(jl); Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); jw.pack(); jw.setLocation(getCenter(d)); jw.show(); ... |
void | unmaskWindow(W window) unmask Window if (!window.isDisplayable()) { return; window.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); if (window.getGlassPane() != null) { window.getGlassPane().setVisible(false); |
void | updateWindow(Window window) update Window SwingUtilities.updateComponentTreeUI(window); |