登录
首页 » Java » Java_information_cue

Java_information_cue

于 2014-04-30 发布 文件大小:191KB
0 204
下载积分: 1 下载次数: 1

代码说明:

  Java实现一个信息提示窗口,实现方法:大多数的信息窗口是没有标题栏的,因此信息窗口不能由继承JFrame 类来实现,一种简单的做法是通过继承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 JFrame, 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. )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • yanhua0.2
    说明:  使用java swing 实现的烟花屏保,能爆炸出各种字体(Java swing to achieve the use of fireworks screen saver that can blast out a variety of fonts)
    2009-07-29 19:58:40下载
    积分:1
  • pdfRenderer
    修改后的pdfrenderer 用于支持中文(modified source code to souprt chiense)
    2021-01-31 18:28:31下载
    积分:1
  • VirusHammer-0.1.1
    Virus scanner, which scans the virus of your system, developed using java
    2010-03-11 14:54:13下载
    积分:1
  • chapter6
    J2ME开发精解原码 第5章内容 大家多多交流 共同提高(J2ME development of sperm solution Chapter 5 of the original code the content of many U.S. exchanges enhance common)
    2008-05-03 11:59:55下载
    积分:1
  • jms
    一个HornetQ获取和发送JMS消息的例子,还有一个基于Esper,复杂事件处理的例子(A HornetQ get and send JMS messages example, there is one based on Esper, examples of complex event processing)
    2013-09-12 16:28:53下载
    积分:1
  • SoccerProject
    这个是一个乐高机器人足球项目,,包括完整的代码(This is a Lego robot soccer project, including the complete code)
    2013-01-30 21:21:13下载
    积分:1
  • jdk6.ZH_cn
    JDKTM 6 Documentation
    2012-08-01 11:51:54下载
    积分:1
  • chuangkou
    java窗口按钮的功能售票的实现,并显示出来,还有暂停(java implementation function window button)
    2013-05-30 11:25:38下载
    积分:1
  • Java思想第四版完整中文高清版
    说明:  Java编程思想第四版完整中文高清版,适合学习java的小伙伴(Java Programming Thought 4th Edition Complete Chinese HD Edition, Suitable for Small Partners Learning Java)
    2020-06-20 00:40:02下载
    积分:1
  • ChainCodes
    Find Chain Codes in image processing
    2011-12-21 15:38:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载