Search in sources :

Example 1 with MetalComboBoxUI

use of javax.swing.plaf.metal.MetalComboBoxUI in project jdk8u_jdk by JetBrains.

the class bug6632953 method main.

public static void main(String... args) throws Exception {
    MetalComboBoxUI ui = new MetalComboBoxUI();
    ui.installUI(new JComboBox());
    ui.getBaseline(new JComboBox(), 0, 0);
    ui.getBaseline(new JComboBox(), 1, 1);
    ui.getBaseline(new JComboBox(), 2, 2);
    ui.getBaseline(new JComboBox(), 3, 3);
    ui.getBaseline(new JComboBox(), 4, 4);
}
Also used : JComboBox(javax.swing.JComboBox) MetalComboBoxUI(javax.swing.plaf.metal.MetalComboBoxUI)

Aggregations

JComboBox (javax.swing.JComboBox)1 MetalComboBoxUI (javax.swing.plaf.metal.MetalComboBoxUI)1