Changed Methods |
JDialog createDialog(Component, String)
|
Documentation changed from old to new. |
Creates and returns a new JDialog wrapping this centered on the parentComponent in the parentComponent 's frame. |
JInternalFrame createInternalFrame(Component, String)
|
Documentation changed from old to new. |
Creates and returns an instance of JInternalFrame . |
AccessibleContext getAccessibleContext()
|
Documentation changed from old to new. |
Gets the AccessibleContext associated with this JOptionPane. |
JDesktopPane getDesktopPaneForComponent(Component )
|
Documentation changed from old to new. |
Returns the specified component's desktop pane. |
Frame getFrameForComponent(Component )
|
Documentation changed from old to new. |
Returns the specified component's Frame . |
Icon getIcon()
|
Documentation changed from old to new. |
Returns the icon this pane displays. |
Object getInitialSelectionValue()
|
Documentation changed from old to new. |
Returns the initial-selection value. |
Object getInitialValue()
|
Documentation changed from old to new. |
Returns the initial value. |
Object getInputValue()
|
Documentation changed from old to new. |
Returns the value the user has input if wantsInput is true. |
int getMaxCharactersPerLineCount()
|
Documentation changed from old to new. |
Returns the maximum number of characters to place on a line in a message. |
Object getMessage()
|
Documentation changed from old to new. |
Returns the message-object this pane displays. |
int getMessageType()
|
Documentation changed from old to new. |
Returns the message type. |
int getOptionType()
|
Documentation changed from old to new. |
Returns the type of options that are displayed. |
Object[] getOptions()
|
Documentation changed from old to new. |
Returns the choices the user can make. |
Frame getRootFrame()
|
Documentation changed from old to new. |
Returns the Frame to use for the class methods in which a frame is not provided. |
Object[] getSelectionValues()
|
Documentation changed from old to new. |
Returns the selection values. |
OptionPaneUI getUI()
|
Documentation changed from old to new. |
Returns the UI object which implements the L&F for this component. |
String getUIClassID()
|
Documentation changed from old to new. |
Returns the name of the UI class that implements the L&F for this component. |
Object getValue()
|
Documentation changed from old to new. |
Returns the value the user has selected. |
boolean getWantsInput()
|
Documentation changed from old to new. |
Returns true if a parentComponent will be provided for the user to input. |
String paramString()
|
Documentation changed from old to new. |
Returns a string representation of this JOptionPane . |
void setIcon(Icon )
|
Documentation changed from old to new. |
Sets the icon to display. |
void setInitialValue(Object )
|
Documentation changed from old to new. |
Sets the initial value that is to be enabled -- the Component that has the focus when the pane is initially displayed. |
void setInputValue(Object )
|
Documentation changed from old to new. |
Sets the user's input-value. |
void setMessage(Object )
|
Documentation changed from old to new. |
Sets the option pane's message-object. |
void setMessageType(int )
|
Documentation changed from old to new. |
Sets the option pane's message type. |
void setOptionType(int )
|
Documentation changed from old to new. |
Sets the options to display. |
void setOptions(Object[] )
|
Documentation changed from old to new. |
Sets the options this pane displays. |
void setRootFrame(Frame )
|
Documentation changed from old to new. |
Sets the frame to use for class methods in which a frame is not provided. |
void setSelectionValues(Object[] )
|
Documentation changed from old to new. |
Sets the selection values for a pane that provides the user with a list of items to choose from. |
void setWantsInput(boolean )
|
Documentation changed from old to new. |
If newValue is true a parentComponent is provided to allow the user to input a value. |
int showInternalOptionDialog(Component, Object, String, int, int, Icon, Object[], Object)
|
Documentation changed from old to new. |
Brings up an internal dialog panel with a specified icon where the initial choice is dermined by the initialValue parameter and the number of choices is determined by the optionType parameter. |
int showOptionDialog(Component, Object, String, int, int, Icon, Object[], Object)
|
Documentation changed from old to new. |
Brings up a modal dialog with a specified icon where the initial choice is dermined by the initialValue parameter and the number of choices is determined by the optionType parameter. |
void updateUI()
|
Documentation changed from old to new. |
Notification from the UIManager that the L&F has changed. |
void setUI(OptionPaneUI )
|
Documentation changed from old to new. |
Sets the UI object which implements the L&F for this component. |
int showConfirmDialog(Component, Object)
|
Documentation changed from old to new. |
Brings up a modal dialog with the options Yes No and Cancel; with the title "Select an Option". |
int showConfirmDialog(Component, Object, String, int)
|
Documentation changed from old to new. |
Brings up a modal dialog where the number of choices is determined by the optionType parameter. |
int showConfirmDialog(Component, Object, String, int, int)
|
Documentation changed from old to new. |
Brings up a modal dialog where the number of choices is determined by the optionType parameter where the messageType parameter determines the icon to display. |
int showConfirmDialog(Component, Object, String, int, int, Icon)
|
Documentation changed from old to new. |
Brings up a modal dialog with a specified icon where the number of choices is determined by the optionType parameter. |
Object showInputDialog(Component, Object, String, int, Icon, Object[], Object)
|
Documentation changed from old to new. |
Prompts the user for input in a blocking dialog where the initial selection possible selections and all other options can be specified. |
String showInputDialog(Component, Object)
|
Documentation changed from old to new. |
Shows a question-message dialog requesting input from the user parented to parentComponent . |
String showInputDialog(Component, Object, String, int)
|
Documentation changed from old to new. |
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType . |
String showInputDialog(Object )
|
Documentation changed from old to new. |
Shows a question-message dialog requesting input from the user. |
int showInternalConfirmDialog(Component, Object)
|
Documentation changed from old to new. |
Brings up an internal dialog panel with the options Yes No and Cancel; with the title "Select an Option". |
int showInternalConfirmDialog(Component, Object, String, int)
|
Documentation changed from old to new. |
Brings up a internal dialog panel where the number of choices is determined by the optionType parameter. |
int showInternalConfirmDialog(Component, Object, String, int, int)
|
Documentation changed from old to new. |
Brings up an internal dialog panel where the number of choices is determined by the optionType parameter where the messageType parameter determines the icon to display. |
int showInternalConfirmDialog(Component, Object, String, int, int, Icon)
|
Documentation changed from old to new. |
Brings up an internal dialog panel with a specified icon where the number of choices is determined by the optionType parameter. |
Object showInternalInputDialog(Component, Object, String, int, Icon, Object[], Object)
|
Documentation changed from old to new. |
Prompts the user for input in a blocking internal dialog where the initial selection possible selections and all other options can be specified. |
String showInternalInputDialog(Component, Object)
|
Documentation changed from old to new. |
Shows an internal question-message dialog requesting input from the user parented to parentComponent . |
String showInternalInputDialog(Component, Object, String, int)
|
Documentation changed from old to new. |
Shows an internal dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType . |
void showInternalMessageDialog(Component, Object)
|
Documentation changed from old to new. |
Brings up an internal confirmation dialog panel. |
void showInternalMessageDialog(Component, Object, String, int)
|
Documentation changed from old to new. |
Brings up an internal dialog panel that displays a message using a default icon determined by the messageType parameter. |
void showInternalMessageDialog(Component, Object, String, int, Icon)
|
Documentation changed from old to new. |
Brings up an internal dialog panel displaying a message specifying all parameters. |
void showMessageDialog(Component, Object)
|
Documentation changed from old to new. |
Brings up a modal information-message dialog titled "Message". |
void showMessageDialog(Component, Object, String, int)
|
Documentation changed from old to new. |
Brings up a dialog that displays a message using a default icon determined by the messageType parameter. |
void showMessageDialog(Component, Object, String, int, Icon)
|
Documentation changed from old to new. |
Brings up a dialog displaying a message specifying all parameters. |