JDK-4115762 : rfe: ComboBox add isPopupVisible() method.
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows_nt
  • CPU: generic,x86
  • Submitted: 1998-02-26
  • Updated: 2002-05-30
  • Resolved: 2002-05-30
Related Reports
Duplicate :  
Description

Name: rm29839			Date: 02/26/98


There is currently no way to determine if the popup
associated with a combobox is showing.
This information is available to the UI but is package
local.

Rational:
To minimize mouse movement on laptops when entering grid data, 
it is a good idea to have an entry line below the grid. 
The grid is then used for display only. 
To navigate between grid lines
the controls on the entry line are programmed to respond to the up and down arrow keys.
If you have a Combobox on the entry line this action should only happen
if the popup is not displayed - in which case the arrow keys navigate up/down the popup.
(Review ID: 25665)
======================================================================

Comments
EVALUATION Good idea. georges.saab@Eng 1999-06-25 Starting with 1.4, support for PopupMenuListener has been added to JComboBox. You can add this listener and it will send a popupMenuWillBecomeVisible notification before the popup is displayed. ###@###.### 2002-05-30
30-05-2002