Generated by
JDiff

Class javax.swing.JComboBox

Documentation changed from old to new.

Added Methods
void addPopupMenuListener(PopupMenuListener) Adds a PopupMenu listener which will listen to notification messages from the popup portion of the combo box.
void firePopupMenuCanceled() Notifies PopupMenuListeners that the popup portion of the combo box has been canceled.
void firePopupMenuWillBecomeInvisible() Notifies PopupMenuListeners that the popup portion of the combo box has become invisible.
void firePopupMenuWillBecomeVisible() Notifies PopupMenuListeners that the popup portion of the combo box will become visible.
ActionListener[] getActionListeners() Returns an array of all the ActionListeners added to this JComboBox with addActionListener().
ItemListener[] getItemListeners() Returns an array of all the ItemListeners added to this JComboBox with addItemListener().
PopupMenuListener[] getPopupMenuListeners() Returns an array of all the PopupMenuListeners added to this JComboBox with addPopupMenuListener().
Object getPrototypeDisplayValue() Returns the "prototypical display" value - an Object used for the calculation of the display height and width.
void removePopupMenuListener(PopupMenuListener) Removes a PopupMenuListener.
void setPrototypeDisplayValue(Object) Sets the prototype display value used to calculate the size of the display for the UI portion.
 

Changed Methods
void addActionListener(ActionListener) Documentation changed from old to new.
Adds an ActionListener.
void addItem(Object) Documentation changed from old to new.
Adds an item to the item list.
void addItemListener(ItemListener) Documentation changed from old to new.
Adds an ItemListener.
void contentsChanged(ListDataEvent) Documentation changed from old to new.
This method is public as an implementation side effect.
void fireActionEvent() Documentation changed from old to new.
Notifies all listeners that have registered interest for notification on this event type.
Object getSelectedItem() Documentation changed from old to new.
Returns the current selected item.
Object[] getSelectedObjects() Documentation changed from old to new.
Returns an array containing the selected item.
void insertItemAt(Object, int) Documentation changed from old to new.
Inserts an item into the item list at a given index.
void intervalAdded(ListDataEvent) Documentation changed from old to new.
This method is public as an implementation side effect.
void intervalRemoved(ListDataEvent) Documentation changed from old to new.
This method is public as an implementation side effect.
boolean isFocusTraversable() Documentation changed from old to new.
Method was locally defined, but is now inherited from Component. Now deprecated.
As of 1.4, replaced by isFocusable().
boolean isLightWeightPopupEnabled() Documentation changed from old to new.
Gets the value of the lightWeightPopupEnabled property.
boolean isPopupVisible() Documentation changed from old to new.
Determines the visibility of the popup.
void removeItem(Object) Documentation changed from old to new.
Removes an item from the item list.
void removeItemAt(int) Documentation changed from old to new.
Removes the item at anIndex This method works only if the JComboBox uses a mutable data model.
boolean selectWithKeyChar(char) Documentation changed from old to new.
Selects the list item that corresponds to the specified keyboard character and returns true if there is an item corresponding to that character.
void selectedItemChanged() Documentation changed from old to new.
This protected method is implementation specific.
void setAction(Action) Documentation changed from old to new.
Sets the Action for the ActionEvent source.
void setActionCommand(String) Documentation changed from old to new.
Sets the action command that should be included in the event sent to action listeners.
void setLightWeightPopupEnabled(boolean) Documentation changed from old to new.
Sets the lightWeightPopupEnabled property which provides a hint as to whether or not a lightweight Component should be used to contain the JComboBox versus a heavyweight Component such as a Panel or a Window.
void setRenderer(ListCellRenderer) Documentation changed from old to new.
Sets the renderer that paints the list items and the item selected from the list in the JComboBox field.
void setSelectedIndex(int) Documentation changed from old to new.
Selects the item at index anIndex.
void setSelectedItem(Object) Documentation changed from old to new.
Sets the selected item in the combo box display area to the object in the argument.
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.
void setUI(ComboBoxUI) Documentation changed from old to new.
Sets the L&F object that renders this component.
 

Changed Fields
String actionCommand Documentation changed from old to new.
This protected field is implementation specific.
ComboBoxModel dataModel Documentation changed from old to new.
This protected field is implementation specific.
ComboBoxEditor editor Documentation changed from old to new.
This protected field is implementation specific.
boolean isEditable Documentation changed from old to new.
This protected field is implementation specific.
KeySelectionManager keySelectionManager Documentation changed from old to new.
This protected field is implementation specific.
boolean lightWeightPopupEnabled Documentation changed from old to new.
This protected field is implementation specific.
int maximumRowCount Documentation changed from old to new.
This protected field is implementation specific.
ListCellRenderer renderer Documentation changed from old to new.
This protected field is implementation specific.
Object selectedItemReminder Documentation changed from old to new.
This protected field is implementation specific.