mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
16 lines
315 B
Java
16 lines
315 B
Java
import javax.swing.*;
|
|
import java.awt.event.ActionEvent;
|
|
|
|
class A {
|
|
{
|
|
new JComboBox().addActionListener(this::handleActionEvent);
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
new A();
|
|
}
|
|
private void handleActionEvent(ActionEvent ignore) {
|
|
System.out.println(123);
|
|
}
|
|
}
|