Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java GUI 设计  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 [求助]这是怎么了?(我还没编写,怎么功能就实现了!)
guliusuo





发贴: 28
积分: 0
于 2006-10-30 11:58 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
import java.awt.*;
import java.awt.event.*;
public class W9 extends Frame{
TextArea ta=new TextArea();
W9(){
super("弹出菜单");
setSize(400,200);
addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
}
});
add(ta);
setVisible(true);
}
public static void main(String args[]){
new W9();
}
}

这个程序我还没创建弹出菜单,运行程序时,在文本区里单出右键,怎么会有弹出菜单出现?
我的JDK版本是j2sdk1.4.2_07,是不是版本的问题?


guliusuo edited on 2006-10-30 15:18


话题树型展开
人气 标题 作者 字数 发贴时间
8575 [求助]这是怎么了?(我还没编写,怎么功能就实现了!) guliusuo 521 2006-10-30 11:58
7059 Re:[求助]这是怎么了?(我还没做,怎么就有了!) guliusuo 10 2006-10-30 12:00
6683 Re:[求助]这是怎么了?(我还没编写,怎么功能就实现了!) guliusuo 11 2006-11-03 15:11
6750 Re:[求助]这是怎么了?(我还没编写,怎么功能就实现了!) cxp108 91 2006-11-03 15:25
6705 Re:[求助]这是怎么了?(我还没编写,怎么功能就实现了!) guliusuo 88 2006-11-04 17:34
7157 Re:[求助]这是怎么了?(我还没编写,怎么功能就实现了!) cxp108 65 2006-11-05 09:34

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923