-
Java_information_cue
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.
)
- 2014-04-30 18:53:35下载
- 积分:1
-
json-1.5
json(JavaScript Object Notation)的源代码,方便编写成格式(json (JavaScript Object Notation) the source code into a format to facilitate the preparation)
- 2013-06-06 14:46:20下载
- 积分:1
-
交通一条道路
说明: 设计一个交通信号灯类: (1)变量:位置、颜色(红、黄、绿)、显示时间(秒)。 (2)方法:切换信号灯。 创建并启动两个线程(东西向、南北向)同时运行。 3.实验要求 (1)设计线程。 (2)设计路口信号灯示意图界面。 (3)进一步将每个方向的信号灯分成3种车道灯:左转、直行和右转。 (4)根据车流量进行时间的模糊控制。(Design a traffic light class: (1) variables: location, color (red, yellow, green), display time (seconds). (2) Method: switch the signal lamp. Create and start two threads (east-west, north-south) running at the same time. 3. Experiment requirements (1) design thread. (2) Design schematic interface of intersection signal light. (3) Further, the signal lights in each direction are divided into three kinds of lane lights: left turn, straight ahead and right turn. (4) Fuzzy control of time according to traffic flow.)
- 2020-05-27 09:21:40下载
- 积分:1
-
jiugongpaixu
九宫图排序,实现记录功能,中间为空,沿四周分布(Figure Jiugong sort of record function, the middle is empty, surrounded by distribution along the)
- 2011-05-26 19:02:21下载
- 积分:1
-
wlweiqi
很不错的网络围棋带代码,大家都来下载看看(Very good network Go with code, we have to download to see)
- 2016-11-08 21:29:47下载
- 积分:1
-
directsshowChapter04
dirctsShow开发指南源码Chapter05(Development Guide dirctsShow source Chapter05)
- 2007-10-22 19:43:42下载
- 积分:1
-
IPMsg.src_java
aav局域网通信——飞鸽传书源代码,大家都知道VB版、VC版还有Delphi版的飞鸽传书软件,但是Java版的确实不多,因此这个Java文件传输实例不可错过,Java网络编程技能的提升很有帮助。(aav LAN communication- IP Messenger source code version we all know VB, VC version as well as Delphi version of IP Messenger software, but does not much Java version, so the Java file transfer instance not to be missed, Java Network enhance the programming skills helpful.)
- 2013-12-16 10:30:02下载
- 积分:1
-
Blog
个人博客管理系统强大的个人Blog,博客,添加删除修改查询,注册,登陆,留言板,统统都有。(blogC-The source for personal blog management system, is based on the JAVA language development, the use of technologies JSP, JavaScript, CSS)
- 2015-04-04 21:52:57下载
- 积分:1
-
shudentsushe
寝室信息管理系统,简单的界面,很实用,基于java的寝室管理系统,access(student sushe manage system studentsushe)
- 2014-06-08 14:16:22下载
- 积分:1
-
JAVAAPI
java的帮助文档。编程助手。中文版本。(java help documentation. Programming assistant.)
- 2013-05-19 15:47:32下载
- 积分:1