List of usage examples for java.awt.event ComponentEvent getID
public int getID()
From source file:zsk.JFCMainClient.java
public void processComponentEvent(ComponentEvent e) { switch (e.getID()) { case ComponentEvent.COMPONENT_MOVED: break;/* w w w. ja v a 2 s . c o m*/ case ComponentEvent.COMPONENT_RESIZED: JFCMainClient.frame.middlepane.setDividerLocation(JFCMainClient.frame.middlepane.getWidth() / 3); break; case ComponentEvent.COMPONENT_HIDDEN: break; case ComponentEvent.COMPONENT_SHOWN: break; } }