List of usage examples for java.awt.event ComponentListener componentResized
public void componentResized(ComponentEvent e);
From source file:org.jimcat.gui.wheellist.WheelList.java
/** * signal parent components that the size of this component has changed *//* w w w.ja v a 2s . c o m*/ private void fireResizeEvent() { // inform listeners about resize event ComponentListener listener[] = getComponentListeners(); // test if there are listeners if (listener.length == 0) { return; } // create event and send ComponentEvent event = new ComponentEvent(this, ComponentEvent.COMPONENT_RESIZED); for (ComponentListener l : listener) { l.componentResized(event); } }