Java JOptionPane Message message(String s)

Here you can find the source of message(String s)

Description

message

License

Open Source License

Declaration

public static void message(String s) 

Method Source Code

//package com.java2s;
/**/*from w  w  w  .jav  a2  s  .c  o  m*/
 * Copyright (c) 2001-2016 Mathew A. Nelson and Robocode contributors
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://robocode.sourceforge.net/license/epl-v10.html
 */

import javax.swing.*;

public class Main {
    public static void message(String s) {
        JOptionPane.showMessageDialog(null, s, "Message", JOptionPane.INFORMATION_MESSAGE);
    }
}

Related

  1. input(Component comp, String title, String message, Object def)
  2. input(String message, String title)
  3. inputMessage(String str1)
  4. log(String msg)
  5. message(Component comp, String title, String message)
  6. message(String s)
  7. messageBox(String s)
  8. msg(int options, String title, String msg, String item, String sep)
  9. Msg(JComponent parent, Object message)