| javax.swing.JOptionPane org.cougaar.util.OptionPane
OptionPane | public class OptionPane extends JOptionPane (Code) | | This fixes bugs in JOptionPane.showOptionDialog and
JOptionPane.showInputDialog that sizes the dialog too small when
using larger demo fonts. It fixes the workaround for bug#4135218 by
dynamically returning a preferred size based on the current
preferred size instead of statically computing a preferred size.
The static technique doesn't track UI changes.
|
Method Summary | |
public Dimension | getPreferredSize() | public static Object | showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) | public static int | showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) |
Methods inherited from javax.swing.JOptionPane | public JDialog createDialog(Component parentComponent, String title) throws HeadlessException(Code)(Java Doc) public JDialog createDialog(String title) throws HeadlessException(Code)(Java Doc) public JInternalFrame createInternalFrame(Component parentComponent, String title)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public static JDesktopPane getDesktopPaneForComponent(Component parentComponent)(Code)(Java Doc) public static Frame getFrameForComponent(Component parentComponent) throws HeadlessException(Code)(Java Doc) public Icon getIcon()(Code)(Java Doc) public Object getInitialSelectionValue()(Code)(Java Doc) public Object getInitialValue()(Code)(Java Doc) public Object getInputValue()(Code)(Java Doc) public int getMaxCharactersPerLineCount()(Code)(Java Doc) public Object getMessage()(Code)(Java Doc) public int getMessageType()(Code)(Java Doc) public int getOptionType()(Code)(Java Doc) public Object[] getOptions()(Code)(Java Doc) public static Frame getRootFrame() throws HeadlessException(Code)(Java Doc) public Object[] getSelectionValues()(Code)(Java Doc) public OptionPaneUI getUI()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public Object getValue()(Code)(Java Doc) public boolean getWantsInput()(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void selectInitialValue()(Code)(Java Doc) public void setIcon(Icon newIcon)(Code)(Java Doc) public void setInitialSelectionValue(Object newValue)(Code)(Java Doc) public void setInitialValue(Object newInitialValue)(Code)(Java Doc) public void setInputValue(Object newValue)(Code)(Java Doc) public void setMessage(Object newMessage)(Code)(Java Doc) public void setMessageType(int newType)(Code)(Java Doc) public void setOptionType(int newType)(Code)(Java Doc) public void setOptions(Object[] newOptions)(Code)(Java Doc) public static void setRootFrame(Frame newRootFrame)(Code)(Java Doc) public void setSelectionValues(Object[] newValues)(Code)(Java Doc) public void setUI(OptionPaneUI ui)(Code)(Java Doc) public void setValue(Object newValue)(Code)(Java Doc) public void setWantsInput(boolean newValue)(Code)(Java Doc) public static int showConfirmDialog(Component parentComponent, Object message) throws HeadlessException(Code)(Java Doc) public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType) throws HeadlessException(Code)(Java Doc) public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) throws HeadlessException(Code)(Java Doc) public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon) throws HeadlessException(Code)(Java Doc) public static String showInputDialog(Object message) throws HeadlessException(Code)(Java Doc) public static String showInputDialog(Object message, Object initialSelectionValue)(Code)(Java Doc) public static String showInputDialog(Component parentComponent, Object message) throws HeadlessException(Code)(Java Doc) public static String showInputDialog(Component parentComponent, Object message, Object initialSelectionValue)(Code)(Java Doc) public static String showInputDialog(Component parentComponent, Object message, String title, int messageType) throws HeadlessException(Code)(Java Doc) public static Object showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) throws HeadlessException(Code)(Java Doc) public static int showInternalConfirmDialog(Component parentComponent, Object message)(Code)(Java Doc) public static int showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType)(Code)(Java Doc) public static int showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType)(Code)(Java Doc) public static int showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)(Code)(Java Doc) public static String showInternalInputDialog(Component parentComponent, Object message)(Code)(Java Doc) public static String showInternalInputDialog(Component parentComponent, Object message, String title, int messageType)(Code)(Java Doc) public static Object showInternalInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)(Code)(Java Doc) public static void showInternalMessageDialog(Component parentComponent, Object message)(Code)(Java Doc) public static void showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType)(Code)(Java Doc) public static void showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)(Code)(Java Doc) public static int showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)(Code)(Java Doc) public static void showMessageDialog(Component parentComponent, Object message) throws HeadlessException(Code)(Java Doc) public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType) throws HeadlessException(Code)(Java Doc) public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon) throws HeadlessException(Code)(Java Doc) public static int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) throws HeadlessException(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
|
|