Java JOptionPane Error errorMessage(Component component, String title, String message)

Here you can find the source of errorMessage(Component component, String title, String message)

Description

error Message

License

Open Source License

Declaration

public static void errorMessage(Component component, String title, String message) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.Component;

import javax.swing.JOptionPane;

public class Main {
    public static void errorMessage(Component component, String title, String message) {
        JOptionPane.showMessageDialog(component, message, title, JOptionPane.ERROR_MESSAGE);
    }//from w  w w.  j  a v a 2 s . co  m
}

Related

  1. error(Component parent, String message)
  2. error(Exception ex)
  3. error(final Component component, final Object msg)
  4. error(String message, Component parent)
  5. error(String message, String title)
  6. errorMessage(Component parent, Throwable t)
  7. errorMessage(Exception exceptionMsg, boolean quiet)
  8. exibeMsgErro(String msg)
  9. getIconError()