List of utility methods to do JOptionPane Info
void | showInfoBox(Component aParent, String aTitle, String aMessage) Displays an information dialog. JOptionPane.showMessageDialog(aParent, aMessage, aTitle, JOptionPane.INFORMATION_MESSAGE); |
void | showInfoMessage(Component parent, String message) show Info Message JOptionPane.showMessageDialog(parent, message, "Information", JOptionPane.INFORMATION_MESSAGE);
|
void | showInfoMessage(String message, Component component) show Info Message JOptionPane.showMessageDialog(component, message, "Informasi", JOptionPane.INFORMATION_MESSAGE);
|
void | showInformationBox(Component pParent, String pMessage, String pTitle) show Information Box JOptionPane.showMessageDialog(pParent, pMessage, pTitle, JOptionPane.INFORMATION_MESSAGE); |
int | showInformationConfirmBox(Component pParent, String pMessage, String pTitle, String pLeftOption, String pRightOption) show Information Confirm Box UIManager.put("OptionPane.noButtonText", pLeftOption); UIManager.put("OptionPane.yesButtonText", pRightOption); int result = JOptionPane.showConfirmDialog(pParent, pMessage, pTitle, JOptionPane.YES_NO_OPTION, JOptionPane.INFORMATION_MESSAGE); UIManager.put("OptionPane.noButtonText", "No"); UIManager.put("OptionPane.yesButtonText", "Yes"); return result; |
void | showInformationMessage(Component component, String message, String title) show Information Message JOptionPane.showMessageDialog(component, message, title, JOptionPane.INFORMATION_MESSAGE); |
void | showInformationMessage(Component parent, String str) Display information. JOptionPane.showMessageDialog(parent, str, "Information!", JOptionPane.INFORMATION_MESSAGE);
|
void | showInformationMessage(Component parent, String str) Show message. JOptionPane.showMessageDialog(parent, str, "Information!", JOptionPane.INFORMATION_MESSAGE);
|
void | showInformationMessage(final JComponent parent, final String messge, final String title) show Information Message JOptionPane.showMessageDialog(parent, messge, title, JOptionPane.INFORMATION_MESSAGE); |
void | showStackTrace(Component parent, Exception e, String info) Display a stack trace dialog. StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); e.printStackTrace(pw); JTextArea text = new JTextArea(sw.toString(), 60, 80); JScrollPane stext = new JScrollPane(text); stext.setPreferredSize(new Dimension(400, 200)); text.setCaretPosition(0); text.setEditable(false); ... |