List of utility methods to do JOptionPane Info
void | displayInfoPane(Component parentComponent, String message) display Info Pane JOptionPane.showMessageDialog(parentComponent, message); |
void | displayInformation(String strMsg) display Information displayMessageBox(strMsg, JOptionPane.INFORMATION_MESSAGE, false); |
void | displayInformationMessage(Component parentComponent, String message, String windowTitle) display Information Message displayMessage(parentComponent, message, windowTitle, JOptionPane.INFORMATION_MESSAGE); |
void | flashInfoMessage(final Component sourceComponent, final String message, int durationInMilliSecs) flash Info Message JOptionPane pane = new JOptionPane(message, JOptionPane.INFORMATION_MESSAGE); final JDialog dialog = pane.createDialog(null, "Info message"); Timer timer = new Timer(durationInMilliSecs, new ActionListener() { public void actionPerformed(ActionEvent e) { dialog.setVisible(false); dialog.dispose(); }); ... |
Icon | getIconInformation() Retrieves the standard information icon (the same one that JOptionPane uses). return UIManager.getIcon("OptionPane.informationIcon"); |
void | info(Component component, String title, String msg) info JOptionPane.showMessageDialog(component, msg, title, JOptionPane.INFORMATION_MESSAGE); |
void | info(Component parent, String message) info JOptionPane.showMessageDialog(parent, message, "Info", JOptionPane.INFORMATION_MESSAGE);
|
void | info(Component parent, String message) info JOptionPane.showMessageDialog(parent, message, "Info", JOptionPane.INFORMATION_MESSAGE);
|
void | info(String message, Component parent) Show an info window. Toolkit.getDefaultToolkit().beep();
JOptionPane.showMessageDialog(parent, message, "Info", JOptionPane.INFORMATION_MESSAGE);
|
void | infoBox(String message, String title) This method will display an informational message box to the user JOptionPane.showMessageDialog(null, message, title, JOptionPane.INFORMATION_MESSAGE); |