class $2041_Window extends Frame{
$2041_Window(){
this.setBounds(50, 50, 300, 300);
this.setVisible(true);
this.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
setVisible(false);
//我在这个位置想访问$2041_Window的对象?
}
});
}
}
解决方案 »
- 线程通信异常
- UDP 多线程的问题
- 一个简单的java题
- 还请大家帮忙!关于java构造函数的一个小问题
- 帮忙Thinking in java第四章里一段示例代码
- 请问Student st = new Student();和Student st = new Student;的区别
- 关于为jfileChooser设置过滤器
- 分享《Applying UML and Patterns -- An introduction to OOA/D and the UP》英文版....
- FlowLayout布局问题
- VisualAge的问题
- 请问如何 用 java 开发 asterisk 的 agi 接口程序 ? 哪里有教程 ? 是不是需要有 开发包?
- 关于Graphics类问题
class $2041_Window extends Frame{
private int intValue = 10;
$2041_Window(){
this.setBounds(50, 50, 300, 300);
this.setVisible(true);
this.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
setVisible(false);
//我在这个位置想访问$2041_Window的对象?
System.out.println($2041_Window.this.intValue);
}
});
}
}