Charles Bell
Posts: 519
Nickname: charles
Registered: Feb, 2002
|
|
Re: COMBO BOXES
|
Posted: Mar 21, 2002 1:47 PM
|
|
JComboBox does have an actionstring associated with it.
You can either set it or get it with
public void setActionCommand(String aCommand) or public String getActionCommand()
In the hierarchy of classes, JComboBox does not inherit from JTextComponent:
Class JComboBox java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JComboBox
Check out the java api documents at: http://java.sun.com/j2se/1.4/docs/api/index.html
You can download them from: http://java.sun.com/docs/index.html
|
|