Example usage for java.awt Event LIST_DESELECT

List of usage examples for java.awt Event LIST_DESELECT

Introduction

In this page you can find the example usage for java.awt Event LIST_DESELECT.

Prototype

int LIST_DESELECT

To view the source code for java.awt Event LIST_DESELECT.

Click Source Link

Document

An item in a list has been deselected.

Usage

From source file:BenchmarkApplet.java

public boolean handleEvent(Event evt) {
      if (evt.target == testList) {
          if (evt.id == Event.LIST_SELECT || evt.id == Event.LIST_DESELECT)
              if (timeEstimate != null)
                  timeEstimate.setText(getTimeEstimate());
      }//from   ww  w  .ja  v  a 2 s.c o m
      return super.handleEvent(evt);
  }