List of usage examples for java.awt.event ItemEvent getID
public int getID()
From source file:Main.java
public void itemStateChanged(ItemEvent ie) { System.out.println(ie.getID() == ItemEvent.ITEM_STATE_CHANGED); }
From source file:Main.java
public void itemStateChanged(ItemEvent ie) { System.out.println(ie.getID() == ItemEvent.ITEM_FIRST); }
From source file:Main.java
public void itemStateChanged(ItemEvent ie) { System.out.println(ie.getID() == ItemEvent.ITEM_LAST); }