-
infobarctrl可以设置背景颜色CStatic膨胀
InfobarCtrl 可设置背景颜色的CStatic扩展-InfobarCtrl can set the background color CStatic expansion
- 2022-01-25 20:08:57下载
- 积分:1
-
public class Server extends Thread { Client client int counter public Server(Cli...
public class Server extends Thread { Client client int counter public Server(Client _client) { this.client = _client this.counter = 0 } public void run() { while (counter < 10) { this.client.queue.addElement(new Integer(counter)) counter++ } throw new RuntimeException("counter >= 10") } public static void main(String[] args) { Client c = new Client() Server s = new Server(c) c.start() s.start() } } class Client extends Thread { Vector queue public Client() { this.queue = new Vector() } public void run() { while (true) { if (! (queue.size() == 0)) { processNextElement() } } } private void processNextElement() { Object next = queue.elementAt(0) queue.removeElementAt(0) System.out.println(next)-public class Server extends Thread { Client client int counter public Server(Client _client) { this.client = _client this.counter = 0 } public void run() { while (counter lt; 10) { this.client.queue.addElement(new Integer(counter)) counter++ } throw new RuntimeException("counter gt;= 10") } p
- 2022-02-21 05:44:37下载
- 积分:1
-
一个类似于windows中显示磁盘使用情况的类,推荐下载
一个类似于windows中显示磁盘使用情况的类,推荐下载-- One class which can show the uses of disk like in windows, recommend download
- 2022-03-04 10:23:49下载
- 积分:1
-
Winsocket DLL 封装,该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完...
Winsocket DLL 封装,该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完成I/O)等.它可以被各种通讯程序方便采用.尤其是基于SERVER/CLIENT的SERVER程序会提高大幅度性能.如果使用人要完成特定的通讯功能可以从该类继承,增加对线程池的支持功能。-Winsocket DLL package, such communication is SOCKET integrated model, such completion, will repackage the mode of communication SOCKET (blocking select, asynchronous window, asynchronous events, overlapping I/O, complete I/O). It can be convenient communications procedures used. In particular, based on SERVER/CLIENT SERVER the procedures significantly improve performance. If people use to accomplish specific communication from such succession, increasing the pool of threads support.
- 2022-01-27 18:04:30下载
- 积分:1
-
JAVA实用工具组件,在编程序可以方便的使用,节约编程时间
JAVA实用工具组件,在编程序可以方便的使用,节约编程时间-JAVA practical tool components can be programmed in easy-to-use, saving programming time
- 2022-01-26 02:53:51下载
- 积分:1
-
一个比较漂亮的链接文字类
一个比较漂亮的链接文字类--A class of beautiful link font
- 2022-03-23 14:20:42下载
- 积分:1
-
一个垂直滚动文本的例子,推荐下载
一个垂直滚动文本的例子,推荐下载-A vertical scrolling text examples, recommended download
- 2022-04-18 16:50:13下载
- 积分:1
-
背景和字体属性可改变的静态控件
背景和字体属性可改变的静态控件-The static control which can change its own background and font
- 2023-08-28 12:30:03下载
- 积分:1
-
实现静态文本框(Static)的鼠标单击事件
实现静态文本框(Static)的鼠标单击事件-To achieve static text box (Static) of the mouse click event
- 2022-02-04 00:15:12下载
- 积分:1
-
电子8段管,可以显示任意数字
电子8段管,可以显示任意数字-eight of electronic tubes, arbitrary figures show
- 2022-04-28 10:25:17下载
- 积分:1