Example usage for java.awt.event ItemEvent ITEM_FIRST

List of usage examples for java.awt.event ItemEvent ITEM_FIRST

Introduction

In this page you can find the example usage for java.awt.event ItemEvent ITEM_FIRST.

Prototype

int ITEM_FIRST

To view the source code for java.awt.event ItemEvent ITEM_FIRST.

Click Source Link

Document

The first number in the range of ids used for item events.

Usage

From source file:Main.java

public void itemStateChanged(ItemEvent ie) {
    System.out.println(ie.getID() == ItemEvent.ITEM_FIRST);
}