Java JOptionPane Message msgbox(Object message)

Here you can find the source of msgbox(Object message)

Description

msgbox

License

Open Source License

Declaration

public static void msgbox(Object message) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2008 The University of York.
 * 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://www.eclipse.org/legal/epl-v10.html
 * /* ww  w.  j  av a2 s.c  om*/
 * Contributors:
 *     Dimitrios Kolovos - initial API and implementation
 ******************************************************************************/

import javax.swing.JOptionPane;

public class Main {
    public static void msgbox(Object message) {
        JOptionPane.showMessageDialog(null, message);
    }
}

Related

  1. messageBox(String s)
  2. msg(int options, String title, String msg, String item, String sep)
  3. Msg(JComponent parent, Object message)
  4. msg(String msg)
  5. msg(String s)
  6. msgBox(String msg)
  7. msgBox(String title, String message)
  8. msgChoice(int options, String title, String msg, String item, String sep)
  9. notImplemented(final String message)