package mouse;
import javax.swing.*;
import java.awt.event.*;
import java.awt.BorderLayout;
import java.awt.Dimension;
public class pro extends JFrame implements ActionListener,WindowListener{
JTextArea textArea;
JFrame frame;
public static void main(String[] args){
pro test = new pro("a");
test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
test.setVisible(true);
}
pro(String title){
setTitle(title);
setBounds( 10, 10, 10, 10);
}
public void windowClosing(WindowEvent e) {
}
public void windowClosed(WindowEvent e) {
System.out.println("33");
}
public void windowOpened(WindowEvent e) {
}
public void windowIconified(WindowEvent e) {
}
public void windowDeiconified(WindowEvent e) {
}
public void windowActivated(WindowEvent e) {
}
public void windowDeactivated(WindowEvent e) {
}
public void actionPerformed(ActionEvent e){
}
}
最終更新:2016年11月07日 13:37