标签:
杂谈 |
分类: Java |
import java.awt.*;
import java.awt.event.*;
public class MyFrame extends Frame implements
WindowListener
{
TextField tfa;
TextField tfb;
Button b;
public MyFrame()
{
}
public static void main(String[] args)
{
}
class ButtonHandler implements ActionListener
{
public void windowClosing(WindowEvent arg0) {
}
public void windowActivated(WindowEvent arg0)
{
}
public void windowClosed(WindowEvent arg0) {
}
public void windowDeactivated(WindowEvent arg0)
{
}
public void windowDeiconified(WindowEvent arg0)
{
}
public void windowIconified(WindowEvent arg0)
{
}
public void windowOpened(WindowEvent arg0) {
}
}

加载中…