登录
首页 » Java » Java_information_cue

Java_information_cue

于 2014-04-30 发布 文件大小:191KB
0 199
下载积分: 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 个回复

  • Inaccessible1
    Tests bounded type parameters declared on methods.
    2013-11-18 22:06:19下载
    积分:1
  • 809420
    在java中实现2个线程之间的死锁,即程序始终不终止,但也仍在运行()
    2018-02-10 21:16:13下载
    积分:1
  • namednodemapsetnameditemns04
    Document Builder Setting.namespace Aware.
    2014-02-27 10:23:55下载
    积分:1
  • java-Exe5_1
    1. 分别使用Vector、Hashtable、Stack,ArrayList、LinkedList和HashSet作为容器类,实现以下要求: (1) 向容器中添加1,000,000个随机整数。 (2) 遍历容器中的所有元素。 (3) 随机产生100,000个整数,在容器中查找这些整数。 (4) 随机产生100个整数,从容器中删除这些整数。 (5) 统计完成以上各个操作需要的时间。 比较一下不同操作在不同数据结构下的性能差异。程序文件命名为Exe5_1.java。 (51 respectively using Vector, Hashtable, Stack, ArrayList, LinkedList and HashSet as the container class, to achieve the following requirements: ( 1) are added to the container 1000000 random integers. ( 2) to traverse all the elements in the container. ( 3) 100000 randomly generated integer, in the container to find these integers. ( 4) random produces 100 integers, is removed from the container of these integers. ( 5) complete the statistics above each operation requires time. Compare the different operating at different data structure performance differences. Program file named Exe5_1.java )
    2012-12-14 11:26:23下载
    积分:1
  • SSMpro_Message_day0324
    ssm整合,整理,配置文件说明,及简单功能实现样例(SSM integration, collation, configuration file description, and sample implementation of simple functions.)
    2018-07-06 15:15:03下载
    积分:1
  • eclipse
    eclipse快捷键使用方式,非常齐全,绝对的值(eclipse shortcut keys used, very well equipped, the absolute value of the)
    2013-08-26 18:19:30下载
    积分:1
  • codingforYXM
    纯手编的超市会员管理系统,可支持会员注册,会员登录(验证码功能),会员查询,会员删除等功能,界面友好,易于操作。(Pure hand-woven supermarket membership management system that supports membership registration, member login, membership inquiries, membership and delete functions, user-friendly, easy to operate. )
    2013-11-24 10:15:06下载
    积分:1
  • bluez-5.46.tar
    a cat is red and lne lejr lkejl kjklerj le
    2018-02-08 00:24:16下载
    积分:1
  • Ambarella Firmwire Tool 1.3.3
    说明:  Ambarella Firmwire Tool 1.3.3 .jar file
    2019-03-18 02:33:27下载
    积分:1
  • Hibernate_Javake_Ch04_Util
    编写HibernateUtil工具类,用工厂方法设计模式实现(Write HibernateUtil tools with factory method design pattern)
    2013-11-04 00:16:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载