// WARNING: This file is auto-generated and any changes to it will be overwritten import lang.stride.*; import java.util.*; import greenfoot.*; import javax.swing.*; /** * Write a description of class Message here. */ public class Message { /* Instance variables - replace the example below with your own*/ private int x; /** * Constructor for objects of class Message */ public Message() { } /** * An example of a method - replace this comment with your own */ public int sampleMethod(int y) { /* Put your code here*/ return x + y; } /** * */ static public void showDialog(String text, String title) { JOptionPane.showMessageDialog( new JInternalFrame(), text, title, JOptionPane.INFORMATION_MESSAGE); } }