搜索资源列表
traffic
- 编写一个Swing应用程序,模拟交通红绿灯。程序允许用户选择3种灯的一种:红、黄、绿。当一个按钮被选中时,相就的灯就被打开,一次只能打开一个灯。程序启动时,没有灯打开。
traffic
- 十字路口模拟交通灯程序,能够通过线程模拟十字路口随机红绿灯下各车运行情况。-Traffic light intersection simulation program that can simulate a crossroads by a random traffic light thread under the operation of the vehicle.
FiveStarCross
- 主要功能:对五条道路的车辆进行控制,提高交通的吞吐量和运行效率,提高路口的安全性能,并使交通发生堵塞的可能性降到最低。 性能要求:必须能对五个路口的红绿灯进行无差错控制,能及时疏导过往的车辆,有效地控制交通,能够根据车流量设置红绿灯的时间,要兼顾行人过马路的安全。 -The main functions: on the five vehicles to control and improve traffic throughput and operational efficiency, i
traval
- 一个简单的用JAVA实现的交通工具的红绿灯的源代码-A simple means of transport used JAVA implementation of the traffic light' s source code
TestRadioButtonDemo
- java模拟红绿灯 用鼠标点击选择需要的灯-java mock traffic lights
TrafficLights
- 红绿灯 主要是练习AWT绘图 和图形的隐藏-Traffic lights are mainly exercises hidden AWT drawing and graphics
state
- 关于Java初学者的小程序,状态模式--红绿灯-Java applet on the beginner, the state model- traffic lights
TrafficLight
- 用java做的一个简单的红绿灯,含有时间以及方向标,基于多线程实现的。-Using java to do a simple traffic light, marked with the time and direction, based on multi-threaded implementation.
trafficlightsByJava
- java 实现的红绿灯程序 其 该组件提供信号的红,绿,黄三种信号显示输出. 1 另外,在javax.swing.Timer的定时控制下, 轮流输出三种信号;也可使用自己定义的定时器实现三种信号轮流显示。 2 在窗口中应该有启动按钮,停止按钮. 并且有时间设置功能. 设置三种状态的显示时间. 3 实现支持信号灯的点击事件, 例如, 用鼠标点击红灯, 那么红灯立刻亮, 然后再进入到定时三种信号的转换输出.-trafficlights by java
RGB
- 控制红绿灯交替,根据所输入的时间间隔,控制灯的熄灭与亮-Control of traffic lights turn, according to the input time interval, the control and the bright lights go out
traffic1
- 模拟实现十字路口的交通灯管理系统逻辑,具体需求如下: 1、异步随机生成按照各个路线行驶的车辆。 例如: 由南向而来去往北向的车辆---- 直行车辆 由西向而来去往南向的车辆---- 右转车辆 由东向而来去往南向的车辆---- 左转车辆 。。。 2、 信号灯忽略黄灯,只考虑红灯和绿灯。 ·3、应考虑左转车辆控制信号灯,右转车辆不受信号灯控制。 ·4、具体信号灯控制逻辑与现实生活中普通交通灯控制逻辑相同,不考虑特殊情况下的控制逻辑。
redbluelight
- 用Java实现红绿灯的功能,每隔一段时间自动出现红灯,再是黄灯,再是绿灯,如此不断循环-Java implementation with the function of traffic lights, red light from time to time automatically, then a yellow light, then a green light, and so the cycle of
TLight
- 一个简单的模拟交通红绿灯的程序,简单实用,容易看懂-Traffic lights with a simple simulation program, simple and practical, easy to understand
traffic
- 红绿灯控制java txt格式直接粘贴即可。源代码。-The traffic light control java txt format and pasted directly to. Source code.
traffic
- 模拟交通系统 车辆在通过 十字路口 的交通红绿灯-Simulated traffic system
trafficLight
- 绘制红绿灯带边框示意图,通过手动点击按钮改变红绿灯显示的颜色-Schematic drawing traffic lights with a border, by manually clicking the button to change the color of the traffic light display
redgreenyellow
- 模拟路口红绿灯,java演示小程序,四向车流,红路灯倒计时,java课设-Analog intersection traffic lights, java applet demo, four-way traffic, street lights red countdown, java class-based
Traffic
- 交通灯的实现,可以正确实现红绿灯的转换,符合实际现实生活中的交通规则。-The realization of the traffic lights, can correct the transition of the traffic lights, conform to the actual traffic rules in real life.
Traffic.tar
- Windows eclipse平台模拟的红绿灯管理系统-Traffic light management system based on eclipse Windows platform
traffic-lights
- 固定时间的红绿灯代码,不考虑右转,涉及线程和枚举-The traffic light fixed time code is not considered a right turn, involves threading and enumerations