List of utility methods to do JComponent Properties
void | setLightweightDispatcher(JComponent component) set Lightweight Dispatcher if (dispatcherField == null) { initReflection(); try { Object dispatcher = newLightweightDispatcher.newInstance(component); enableEvents.invoke(dispatcher, MOUSE_MASK | AWTEvent.KEY_EVENT_MASK); dispatcherField.set(component, dispatcher); component.addKeyListener(new KeyAdapter() { ... |
void | showAsOnlyVisibleChild(JComponent container, Component childToBeMadeVisible) show As Only Visible Child for (Component child : container.getComponents()) { boolean visible = child.equals(childToBeMadeVisible); child.setVisible(visible); if (visible) { container.getLayout().addLayoutComponent(BorderLayout.CENTER, child); } else { container.getLayout().removeLayoutComponent(child); child.repaint(); container.revalidate(); container.repaint(); |
void | showSplash(JComponent content, int milliseconds) DOCUMENT ME! showSplash(content, milliseconds, true); |
void | showSplash(JComponent content, int milliseconds, boolean start_timer) show Splash hideSplash(); if (splashWindow == null) { splashWindow = new JWindow(); splashContent = content; splashWindow.getContentPane().add(splashContent); splashWindow.pack(); centerWindowLocation(splashWindow); ... |