Example usage for javax.swing JComboBox isLightWeightPopupEnabled

List of usage examples for javax.swing JComboBox isLightWeightPopupEnabled

Introduction

In this page you can find the example usage for javax.swing JComboBox isLightWeightPopupEnabled.

Prototype

public boolean isLightWeightPopupEnabled() 

Source Link

Document

Gets the value of the lightWeightPopupEnabled property.

Usage

From source file:Main.java

public Main() {
    JComboBox jc = new JComboBox();
    jc.addItem("France");
    jc.addItem("Germany");
    jc.addItem("Italy");
    jc.addItem("Japan");
    jc.addItemListener(this);
    add(jc);//w  ww.  j  a  v  a2s  .co m

    System.out.println(jc.isLightWeightPopupEnabled());
}