コード例 #1
0
 public void actionPerformed(java.awt.event.ActionEvent e) {
   ThinkScapeGUI gui = (ThinkScapeGUI) ApplicationFrame.getApplicationFrame().guiPolicy;
   JOptionPane.showMessageDialog(gui, "baahh!!!");
 }
コード例 #2
0
 public void actionPerformed(java.awt.event.ActionEvent e) {
   ThinkScapeGUI gui = (ThinkScapeGUI) ApplicationFrame.getApplicationFrame().guiPolicy;
   JOptionPane.showMessageDialog(gui, "Class Instances of " + name + " have been rapued");
 }