JDK-4331058 : JComboBox should notify a listener about the state of the popup portion
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0,1.3.0,1.4.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_nt
  • CPU: generic,x86
  • Submitted: 2000-04-17
  • Updated: 2022-03-22
  • Resolved: 2000-04-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
The JComboBox should have additional API which would allow an applciation to register a listener so that it can get notification for when the popup portion of the combo box becomes visible. 

for example, if showing the the contents of the combo box is expensive (some long calculation or access to a database) then it could be deferred until the combo box is shown instead of calculated at initialization.
mark.davidson@Eng 2000-04-17

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: merlin-beta INTEGRATED IN: merlin-beta
14-06-2004

EVALUATION The user has no way of being notified when the drop down (popup) portion of the combo box will be visible or invisible. All the default LAFs for JComboBox will support adding a PopupMenuListener to the combo box which will notify the listener of the state changes of the Popup list implementation. mark.davidson@Eng 2000-04-27
27-04-2000