摘要:
http://download.oracle.com/javase/1.3/docs/guide/rmi/sockettype.doc.html—————————————————————————————————————————————————— Creating a Custom Socket Type Often it is necessary to process data either before it is sent to, or after it has been received from, a socket. Instead o...
阅读全文
posted @ 2011-11-13 17:02
网络大豆
阅读(253)
推荐(0)
摘要:
http://download.oracle.com/javase/1.3/docs/guide/net/extendingSocks.html———————————————————————————————————————————————— Extending Sockets in JDK 1.1 Some of the improvements to the java.net classes in JDK 1.1 allow sockets (Socket/ServerSocket) to be non-final, extendable classes. The basic ...
阅读全文
posted @ 2011-11-13 16:41
网络大豆
阅读(232)
推荐(0)
摘要:
http://www.koders.com/info.aspx?c=ProjectInfo&pid=WD8AFGBXX2TD6KFMHBMY58N78B&s=mdef%3astring——————————————————————————————————————————————————————————————————/Files/cuizhf/p2psockets.rar
阅读全文
posted @ 2011-11-12 18:48
网络大豆
阅读(267)
推荐(0)
摘要:
http://onjava.com/lpt/a/4421———————————————————————————————————————————————————————————— Published on ONJava.com (http://www.onjava.com/) See this if you're having trouble printing code examples Introduction to the Peer-to-Peer Sockets Project by Brad Neuberg 12/03/2003 ...
阅读全文
posted @ 2011-11-12 15:35
网络大豆
阅读(430)
推荐(0)
摘要:
http://javakenai-dev.cognisync.net/forum/topic/jxta/jxta-community-forum/new-contentservice-api-committed-trunk-jxse-0———————————————————————————————————————————————————————————————————— New ContentService API committed into trunk (JXSE) Wed, 2008-08-06 22:...
阅读全文
posted @ 2011-11-11 15:18
网络大豆
阅读(287)
推荐(0)
摘要:
YUV(亦称YCrCb)是被欧洲电视系统所采用的一种颜色编码方法(属于PAL)。YUV主要用于优化彩色视频信号的传输,使其向后兼容老式黑白电视。与R GB视频信号传输相比,它最大的优点在于只需占用极少的带宽(RGB要求三个独立的视频信号同时传输)。其中“Y”表示明亮度(Lumina nce或Luma),也就是灰阶值;而“U”和“V”表示的则是色度(Chrominance或Chroma),作用是描述影像色彩及饱和度,用于指定像素的颜色。“亮度”是通过R GB输入信号来创建的,方法是将RGB信号的特定部分叠加到一起。“色度”则定义了颜色的两个方面—色调与饱和度,分别用Cr和CB来表示。其中,C r
阅读全文
posted @ 2011-11-09 16:58
网络大豆
阅读(885)
推荐(0)
摘要:
http://platform.netbeans.org/tutorials/nbm-visual_library.html————————————————————————————————————————————————————————————NetBeans Visual Library Tutorial In this tutorial, you will learn how to use the main features provided by the NetBeans Visual Library API. The library provides a set of reusa...
阅读全文
posted @ 2011-11-06 16:55
网络大豆
阅读(461)
推荐(0)
摘要:
http://stackoverflow.com/questions/3752194/best-practice-to-use-concurrentmaps-putifabsent——————————————————————————————————————————————————I have been using Java's ConcurrentMap for a map that can be used from multiple threads. The putIfAbsent is a great method and is much easier to read/write
阅读全文
posted @ 2011-11-04 14:01
网络大豆
阅读(476)
推荐(0)
摘要:
http://www.cnblogs.com/xingqi/archive/2011/04/20/2022188.html————————————————————————————————————————————————————————Java Swing的JTextPane支持格式化文本,即字体、大小、加粗、倾斜、下划线、颜色等,还支持图片、任意组件Component及段落格式等,相关 概念还有文档StyledDocument、编辑器StyledEditorKit、格式集AttributeSet和格式工具 StyleConstants。 常见的聊天窗口之记录框和输入框的显示不太一样,记录框..
阅读全文
posted @ 2011-11-03 20:40
网络大豆
阅读(662)
推荐(0)
摘要:
http://stackoverflow.com/questions/6117826/jxmultisplitpane-how-to-use————————————————————————————————————————————————————————//Simplecase:createsasplitpanewiththree//compartmentsJXMultiSplitPanesp=newJXMultiSplitPane();sp.setModel(newDefaultSplitPaneModel());sp.add(left,DefaultSplitPaneModel.LEFT);
阅读全文
posted @ 2011-11-03 16:03
网络大豆
阅读(469)
推荐(0)