SolveErrors
Swing / AWT / SWT

Question about drop down lists from JComboBox within an applet

3 views

When I click on the down arrow of a standard JComboBox in an applet and the list of strings are displayed, if I then drag the browser window, the drop down list stays in the same place instead of either being closed or moving with the browser window. I started noticing this when I started using Java 7, but I think this also occurs with Java 6 and 5. When run within the applet viewer in Eclipse, moving the applet window there closes the drop-down during the process of moving the window. Anybody else noticing this ? If so are any suggestions for a possible solution. Ideally I'd want the list to move with the browser window without the drop-down closing.

My example code that demonstrates the problem is as follows: