Java JOptionPane Warning showWarningMessage(String message, Component component)

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

Description

show Warning Message

License

Apache License

Declaration

public static void showWarningMessage(String message, Component component) 

Method Source Code


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

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

public class Main {
    public static void showWarningMessage(String message, Component component) {
        JOptionPane.showMessageDialog(component, message, "Peringatan", JOptionPane.WARNING_MESSAGE);
    }//from   w  w  w  .  j  a v a2 s  . c  om
}

Related

  1. showWarningBox(Component pParent, String pMessage, String pTitle)
  2. showWarningConfirmBox(Component pParent, String pMessage, String pTitle, String pLeftOption, String pRightOption)
  3. showWarningMessage(Component parent, String str)
  4. showWarningMessage(Component parent, String str)
  5. showWarningMessage(final Window aParent, final String aMessage)
  6. showWarningMessage(String title, String message, java.awt.Component parent)
  7. warn(Component parent, String message)
  8. warn(Component parent, String message)
  9. warn(Component parent, String message)