Java JOptionPane Error showError(final Component rootComponent, final String message, final String title)

Here you can find the source of showError(final Component rootComponent, final String message, final String title)

Description

show Error

License

BSD License

Declaration

public static void showError(final Component rootComponent, final String message, final String title) 

Method Source Code


//package com.java2s;
//License from project: BSD License 

import java.awt.Component;
import javax.swing.JOptionPane;

public class Main {
    public static final String ERROR_MESSAGE = "iDrop Error Message";

    public static void showError(final Component rootComponent, final String message, final String title) {
        JOptionPane.showMessageDialog(rootComponent, message, title, JOptionPane.ERROR_MESSAGE);
    }//from   www. ja v  a 2  s .com
}

Related

  1. showError(Component where, String msg)
  2. showError(Exception e)
  3. showError(Exception e)
  4. showError(Exception e)
  5. showError(final Component component, final String title, final String message)
  6. showError(JComponent parent, Throwable e)
  7. showError(JFrame owner, ImageIcon image, String title, String message, String text)
  8. showError(String errorMsg)
  9. showError(String macAddress, String message)