16 lines
326 B
Java
16 lines
326 B
Java
package spaceshipsim;
|
|
|
|
import javax.swing.*;
|
|
|
|
/**
|
|
* @author Nicolás A. Ortega
|
|
* @copyright Nicolás A. Ortega
|
|
* @license GNU GPLv3
|
|
* @year 2014
|
|
*
|
|
*/
|
|
public class Window {
|
|
public Window(String title, String infoMessage) {
|
|
JOptionPane.showMessageDialog(null, infoMessage, title, JOptionPane.INFORMATION_MESSAGE);
|
|
}
|
|
} |