unresponsive « JComboBox « Java Swing Q&A





1. Java MouseListener for ComboBox    stackoverflow.com

How do I add a MouseListener to a ComboBox? I have tried:

comboBox.addMouseListener(new MouseAdapter() { 
    public void mousePressed(MouseEvent event) {
        System.out.println("ok"); ...

2. Multiple JComboBox    stackoverflow.com

Ok, there is two jcombobox displayed one is a list of cities a flight leaves from and another is a list of cities a flight goes to when a user selects ...