文件名称:Java_information_cue
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-04-30
- 文件大小:
- 191kb
- 下载次数:
- 0次
- 提 供 者:
- 嗖**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Java实现一个信息提示窗口,实现方法:大多数的信息窗口是没有标题栏的,因此信息窗口不能由继承Jfr a me 类来实现,一种简单的做法是通过继承JWindow 来实现(当然继承Window 类也可以,但一个原则是尽量使用swing 中的界面类)。
在加载图信息窗口上的图片时,用到java.awt 包中的MediaTracker 类。使用该类的好处是可以更好地管理程序中要使用的图片,同时还可以保证图片和界面同时显示,避免了窗口显示后很久才显示图片的缺点。
-
Java implementation of an information prompt window method: Most of the information is no title bar of the window, the information window can not be achieved by the inherited class Jfr a me, a simple approach is to be achieved through inheritance JWindow (of course, the Window class can inherit but a principle is to make use of the interface class swing).
When loaded on the chart image information window, use the java.awt package MediaTracker class. The advantage of using this class is that you can better manage the program you want to use the picture, but also can guarantee the picture display and interface simultaneously, avoiding the window a long time to display pictures shortcomings.
在加载图信息窗口上的图片时,用到java.awt 包中的MediaTracker 类。使用该类的好处是可以更好地管理程序中要使用的图片,同时还可以保证图片和界面同时显示,避免了窗口显示后很久才显示图片的缺点。
-
Java implementation of an information prompt window method: Most of the information is no title bar of the window, the information window can not be achieved by the inherited class Jfr a me, a simple approach is to be achieved through inheritance JWindow (of course, the Window class can inherit but a principle is to make use of the interface class swing).
When loaded on the chart image information window, use the java.awt package MediaTracker class. The advantage of using this class is that you can better manage the program you want to use the picture, but also can guarantee the picture display and interface simultaneously, avoiding the window a long time to display pictures shortcomings.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Java信息窗口的实现\JSPLESHWINDOWDEMO\BAK\JSPLESHWINDOWDEMO\JSPLESHWINDOWDEMO.JAVA~1~
..................\.................\...\.................\MAINFRAME.JAVA~1~
..................\.................\...\.................\MAINFRAME.JAVA~2~
..................\.................\...\.................\MAINFRAME.JAVA~3~
..................\.................\...\.................\MAINFRAME.JAVA~4~
..................\.................\...\.................\MAINFRAME.JAVA~5~
..................\.................\...\.................\SPLESHWINDOW.JAVA~1~
..................\.................\...\.................\SPLESHWINDOW.JAVA~2~
..................\.................\...\.................\SPLESHWINDOW.JAVA~3~
..................\.................\...\.................\SPLESHWINDOW.JAVA~4~
..................\.................\...\.................\SPLESHWINDOW.JAVA~5~
..................\.................\...\.................\SPLESHWINDOW.JAVA~6~
..................\.................\...\.................\SPLESHWINDOW.JAVA~7~
..................\.................\...\.................\SPLESHWINDOW.JAVA~8~
..................\.................\...\.................\SPLESHWINDOW.JAVA~9~
..................\.................\CLASSES\IMAGES\SPLESH.JPG
..................\.................\.......\......\SPLESH1.JPG
..................\.................\.......\......\THUMBS.DB
..................\.................\.......\JSPLESHWINDOWDEMO\JSPLESHWINDOWDEMO.CLASS
..................\.................\.......\.................\MAINFRAME.CLASS
..................\.................\.......\.................\SPLESHWINDOW.CLASS
..................\.................\.......\PACKAGE CACHE\JSPLESHWINDOWDEMO.DEP2
..................\.................\JSPLESHWINDOWDEMO.HTML
..................\.................\JSPLESHWINDOWDEMO.JPX
..................\.................\JSPLESHWINDOWDEMO.JPX.LOCAL
..................\.................\JSPLESHWINDOWDEMO.JPX.LOCAL~
..................\.................\JSPLESHWINDOWDEMO.JPX~
..................\.................\SRC\JSPLESHWINDOWDEMO\JSPLESHWINDOWDEMO.JAVA
..................\.................\...\.................\MAINFRAME.JAVA
..................\.................\...\.................\SPLESHWINDOW.JAVA
..................\说明.txt
..................\JSPLESHWINDOWDEMO\BAK\JSPLESHWINDOWDEMO
..................\.................\CLASSES\IMAGES
..................\.................\.......\JSPLESHWINDOWDEMO
..................\.................\.......\PACKAGE CACHE
..................\.................\SRC\JSPLESHWINDOWDEMO
..................\.................\BAK
..................\.................\CLASSES
..................\.................\SRC
..................\JSPLESHWINDOWDEMO
Java信息窗口的实现