Topic: 怎样去掉运行程序时的DOS窗口啊? |
Print this page |
1.怎样去掉运行程序时的DOS窗口啊? | Copy to clipboard |
Posted by: 海魂 Posted on: 2003-06-01 22:07 编写 JApplet (JFrame)程序,会有可视化界面弹出。 但是在弹出界面之前会有一个Dos 窗口,运行完关掉生成的可视化界面后,还要关掉 Dos窗口。 怎样设计可以不弹出Dos窗口? |
2.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: dliang Posted on: 2003-06-01 22:12 试试用 javaw 运行.class文件 |
3.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: bbbaby Posted on: 2003-06-02 17:41 对啊~~用javaw就应该不会有上述情况了 |
4.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: 海魂 Posted on: 2003-06-03 16:52 我这样操作: javaw menu.class 结果显示: Could not find the main class . Program will exit! 这是怎么回事啊? 是不是 javaw要写参数的? 还有,怎么一个 menu$1.class 文件生成? 这是什么东西啊? |
5.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: rego Posted on: 2003-06-03 21:45 海魂 wrote: 你的menu1中应该用到了一个Anonymous Class. 例如在事件处理过程中: component.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent evt) { } }); |
6.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: y123456 Posted on: 2003-06-04 11:08 用javaw运行软件包,不会有控制台出现 |
7.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: 海魂 Posted on: 2003-06-04 21:36 我这样操作: javaw menu.class 结果显示: Could not find the main class . Program will exit! 这是怎么回事啊? 是不是 javaw要写参数的? |
8.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: frankwg Posted on: 2003-06-06 17:16 beware of you main class' path. if it resides in the specific package. and try the following instruction instead: >javaw menu |
9.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: laser Posted on: 2003-06-08 16:56 玩java这么久了,真还没有注意过javaw。 好帖子,顶一下。 |
10.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: mindyleelyy Posted on: 2003-06-09 13:47 直接用jdk就可以,他可是根本哦! |
11.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: pjfRealmap Posted on: 2003-06-09 13:54 up |
12.Re:怎样去掉运行程序时的DOS窗口啊? [Re: mindyleelyy] | Copy to clipboard |
Posted by: greennba99 Posted on: 2003-06-11 18:23 mindyleelyy wrote: 能不能说得具体一点,谢谢! |
13.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: gus Posted on: 2003-06-17 03:17 我也想知道 |
14.Re:怎样去掉运行程序时的DOS窗口啊? [Re: 海魂] | Copy to clipboard |
Posted by: jameszhang Posted on: 2003-06-17 08:19 怎么这么乱?大家到底在讨论什么? http://www.cjsdn.com/post/view?bid=1&id=21749&sty=3&tpg=16&age=0 |
15.Re:怎样去掉运行程序时的DOS窗口啊? [Re: bbbaby] | Copy to clipboard |
Posted by: ditty Posted on: 2003-06-17 08:46 bbbaby wrote: 应该是这样: 写一个cmd or bat脚本, start javaw com.packXXX.YourFrame |
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 |