上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 63 下一页
摘要: 暂缺 阅读全文
posted @ 2011-09-22 18:14 网络大豆 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 查看cpu信息可以使用 cat /proc/cpuinfo 查看显卡使用 lspci |grep VGA 阅读全文
posted @ 2011-09-22 12:41 网络大豆 阅读(1192) 评论(0) 推荐(0) 编辑
摘要: JXSE网络启动后,后台需要很多线程执行任务,下面列举典型的几个例子:------------------------------------------------------------------------------------------------------------------使用了ReliableOutputStream,会启动一个重传任务RetransmitTask(因为要保证可靠传输)。其中JxtaBiDiPipe和JxtaSocket都使用了ReliableOutputStream,因此都能保证可靠传输。 /***Acceptsdataandpackagesitin 阅读全文
posted @ 2011-09-22 10:37 网络大豆 阅读(390) 评论(0) 推荐(0) 编辑
摘要: java.io.InvalidClassException: javax.swing.text.DefaultStyledDocument; local class incompatible: stream classdesc serialVersionUID = 940485415728614849, local class serialVersionUID = 7691029896427935656 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:579) at java.io.ObjectInputStre 阅读全文
posted @ 2011-09-21 16:37 网络大豆 阅读(702) 评论(0) 推荐(0) 编辑
摘要: javax.swing.text.Documentdoc=jTextPane.getDocument();jTextPane.setCaretPosition(doc.getLength()); 阅读全文
posted @ 2011-09-21 12:00 网络大豆 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 屏幕截图(记不清了,大概参考了http://hadeslee.iteye.com/的JAVA截屏程序,源码链接已失效,故无法确认)javasift图像匹配算法(http://fly.mpi-cbg.de/~saalfeld/Projects/javasift.html)限于文件大小,已去掉相关素材 /Files/cuizhf/TreasureHunter.rar 阅读全文
posted @ 2011-09-21 10:11 网络大豆 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 以下是堆栈task of type [net.jxta.util.JxtaBiDiPipe$RetryingOutputPipeConnect$1] still running after 96,001ms in thread JxtaScheduledWorker-1, current stack:sun.misc.Unsafe.park(Native Method)java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)java.util.concurrent.locks.AbstractQueuedSynchron 阅读全文
posted @ 2011-09-21 09:37 网络大豆 阅读(810) 评论(0) 推荐(0) 编辑
摘要: http://blog.fyent.net/2011/01/java_swing_merge_styleddocument/publicvoidmergeDocument(DefaultStyledDocumentsource,DefaultStyledDocumentdest)throwsBadLocationException{ArrayListspecs=newArrayList();DefaultStyledDocument.ElementSpecspec=newDefaultStyledDocument.ElementSpec(newSimpleAttributeSet(),Defa 阅读全文
posted @ 2011-09-20 23:37 网络大豆 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: http://download.oracle.com/javase/tutorial/uiswing/components/filechooser.html 阅读全文
posted @ 2011-09-20 21:49 网络大豆 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 首先看几个connect方法/***ConnecttoaJxtaServerPipewithdefaulttimeout**@paramgroupgroupcontext*@parampipeAdPipeAdvertisement*@throwsIOExceptionifanioerroroccurs*/publicvoidconnect(PeerGroupgroup,PipeAdvertisementpipeAd)throwsIOException{connect(group,pipeAd,timeout);}/***ConnectstoaremoteJxtaBiDiPipe**@param 阅读全文
posted @ 2011-09-20 13:50 网络大豆 阅读(422) 评论(0) 推荐(0) 编辑
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 63 下一页