用JAVA写了一个程序,怎么捕获系统要关机的命令
并在关机前提示用户一些信息
并在关机前提示用户一些信息
解决方案 »
- object[]如何转换成int[]
- 问个JDBC中UPDATE RESULTSET的问题
- 一个非常棘手的问题,是有关于Runtime.getRuntime().exec,怎么等到运行结束
- tomcat作为应用服务器,怎么设置不让浏览目录
- 哪位大哥给个最简单的applet打印的例子
- java如何操作windows的注册表??
- 请问JAVA里有类似C中"scanf()"的快速获取输入的方法吗?
- 各位有没有java的教学材料!没办法,要给别人上java课,以前根本就没讲过!
- 这个jdbc代码错在哪里?
- 关于数字和字母的边界问题,请指点 谢谢
- 我之前编译还没有错误,后来突然就有了~大家帮我看看错误~
- 不带括号的四则运算表达式解析
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4796976Bug ID: 4796976
Votes 9
Synopsis RFE: Users cannot veto shutdown process in Windows
Category java:classes_awt
Reported Against 1.4.1
Release Fixed
State In progress, request for enhancement
Related Bugs
Submit Date 20-DEC-2002
Description FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java Hotspot(TM) Client VM (build 1.4.1_01-b01, mixed mode)FULL OPERATING SYSTEM VERSION :
Microsoft Windows XP [Version 5.1.2600]A DESCRIPTION OF THE PROBLEM :
Applications running under Windows receive the
WM_QUERYENDSESSION message when a user wants to logoff or
shutdown Windows. Applications can veto the shutdown by
returning FALSE to this message.In response to this message, most desktop applications
show a dialog to the user for dirty documents allowing
users to save their work or cancel the shutdown.
……----------------------------------------
呵呵,早就有人抗议了,但是“In progress, request for enhancement”,等吧。