登录
首页 » Java » Java_information_cue

Java_information_cue

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

  • chap08
    Java 程序设计教程(第五版)EXAMPLESchap08源码(Java Programming tutorial (Fifth Edition) EXAMPLES chap08 source)
    2009-03-13 11:01:31下载
    积分:1
  • SerialAssistant
    用gnu.io.rxtx写的一个串口助手(A serial port assistant written in gnu.io.rxtx)
    2017-12-27 20:04:50下载
    积分:1
  • lexical-analysis
    通过写好的最小DFA实现源码的分词功能。 内容:GetToken.java(源码)SourceCode.txt(要分词的源码) Tokens.txt(Token序列)(Achieve source word feature written by minimal DFA. Content: GetToken.java (source) SourceCode.txt (word to the source) Tokens.txt (Token sequence))
    2014-04-18 13:59:16下载
    积分:1
  • 医生患者信息管理系统
    这是我们的作业,医生患者信息管理系统,用于医院药品患者医生管理(This is our job, Doctor and Patient Information Management System)
    2020-06-19 00:00:02下载
    积分:1
  • 8team_report
    韩国仁荷大学电子系 java学期作业的报告部分(仅供参考)(Inha University Department of Electronics, java term operating section of the report (for reference only))
    2012-07-26 21:55:23下载
    积分:1
  • Chat
    chat (implementacionde socket en java en chat)
    2012-04-04 07:30:55下载
    积分:1
  • N_java_api
    说明:  guestbook的java程序。应该还是蛮好的
    2010-04-14 16:13:46下载
    积分:1
  • SpringCloud微服务实战-源码
    SpringCloud微服务实战-源码,对应书本章节(Spring Cloud Microservice Actual Warfare-Source Code)
    2020-06-19 20:40:01下载
    积分:1
  • Java
    Java是一种可以撰写跨平台应用软件的面向对象的程序设计语言。Java 技术具有卓越的通用性、高效性、平台移植性和安全性,广泛应用于PC、数据中心、游戏控制台、科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。(Java is an object-oriented programming language that can write cross platform application software. Java technology has excellent versatility, high efficiency, platform portability and security. It is widely used in PC, data center, game console, scientific supercomputer, mobile phone and Internet. It also has the largest developer community in the world)
    2018-06-17 21:56:35下载
    积分:1
  • MHknapsack
    Merkle-Hellman knapsack cryptosystem
    2011-05-04 05:05:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载