List of usage examples for java.awt.event ComponentEvent COMPONENT_FIRST
int COMPONENT_FIRST
To view the source code for java.awt.event ComponentEvent COMPONENT_FIRST.
Click Source Link
From source file:Main.java
@Override public void componentShown(ComponentEvent evt) { System.out.println(evt.getID() == ComponentEvent.COMPONENT_FIRST); }
From source file:Main.java
@Override public void componentShown(ComponentEvent evt) { System.out.println(evt.getID() == ComponentEvent.COMPONENT_FIRST); ComponentEvent event = new ComponentEvent((Component) evt.getSource(), ComponentEvent.COMPONENT_MOVED); }