Microsoft SDK for Java

ComboBox Class

Encapsulates the Windows combo box control.

Component 
  |
  +--Control 
     |
     +--ComboBox

package com.ms.wfc.ui

public class ComboBox
extends
Control

Remarks

A combo box consists of a list box combined with a static text control or an edit control. The list box portion of the control can be displayed at all times or can drop down when the user clicks the drop-down arrow. You can add a set of items to a combo box at one time using the setItems method. Use the getSelectedIndex, getSelectedItem and getSelectedText methods to get information about the current selection in the combo box.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.