Let's go inside

          this blog is deprecated as a result of laziness.
          posts - 59, comments - 2, trackbacks - 0, articles - 0

          導(dǎo)航

          常用鏈接

          留言簿(4)

          隨筆分類(60)

          隨筆檔案(59)

          J2EE相關(guān)技術(shù)

          個人空間

          友情鏈接

          搜索

          •  

          積分與排名

          • 積分 - 41117
          • 排名 - 1143

          最新評論

          閱讀排行榜

          Hi,

          My cricket events are going fine. Very soon the domestic T20 cricket league in India will start. It is a gala event. It is called the Indian Premier League. Ours is a very good team. The name of our team is Kolkata Knight Riders. Very excited. Will go to the stadium and watch the games live. Tomorrow entire team in company are going for a movie. :)
          We just completed a sprint. We follow Agile SCRUM here. We worked on Spring Webflow, jQuery, JSP. Hope you are doing fine. In each step here I realize how helpful you have been and the lessons you taught me are coming to great advantage here. Thank you! I always feel that meeting you was a part of my destiny. Tell hi to Yu Ting as well. I miss her too.

          Thanks and regards,
          Rohan Ghosh,
          IT Professional.

          ================
          Hello,
           
             yes, I haven't watched the game yet. maybe I will watch the video this weekend. I've been practicing starcraft.
          I learned how to manipulate Vulture, how to use one vulture to kill a dozen of zealots or zerglings or something alike.

          ..
          about Kobe, he scored very low in the two games before this game against Mavericks.
          and was scolded by some public commentators. but we fandom will forever support him no matter he is in low or high spirit :D

          thanks for sharing me the news link.

          you have to confess the news is not exciting at all, it's a small victory among this season, we Kobe Fandom expect more

          how's your favorite cricket event

          posted @ 2012-03-30 21:00 Earth 閱讀(223) | 評論 (0)編輯 收藏

          today.. i enabled the comment function for my blog.

          anyone can leave comment here now.

          posted @ 2012-03-30 20:57 Earth 閱讀(345) | 評論 (0)編輯 收藏

          給一個陌生人做的作業(yè),

          要求如下:
          編寫一個TCP?Socket程序,采用圖形化的界面實現(xiàn),在服務(wù)器可輸入客戶端的IP地址和端口號,程序根據(jù)該IP地址和端口號與客戶端建立連接,在服務(wù)器端輸入要發(fā)送的內(nèi)容點擊發(fā)送按鈕,就可以發(fā)送到客戶端,客戶端只接收服務(wù)器端發(fā)送的消息。

          正好在學(xué)SWT,?就一邊學(xué)一邊寫了,可以到這里去下載源代碼http://www.eclipseworld.org/bbs/read.php?tid=10290

          憑記憶總結(jié)一下期間碰到的問題,一個是如果button要處理一個可能會阻塞或耗時的事件,那個事件處理的需要放在一個新的Thread里邊。不然的話。界面沒法響應(yīng)其它的操作。

          另外如果要在新的線程里操作SWT中的元素比如文本框。必須像下面這樣處理。
          ?display.asyncExec(new?Runnable()?{
          ??public?void?run()?{
          ???listenButton.setEnabled(false);
          ??}
          ?});
          否則會拋出好像是什么invalid?access的異常。

          最后在進行Socket編程的時候要把防火墻關(guān)掉。否則會拋出JVM_bind之類等莫名其妙的錯誤

          哈哈,今天又發(fā)現(xiàn)了一個問題。。就是改成keyReleased()?以后。。還是要按照那個回貼的人來做。String?text?=?sendText.getText().trim()?+?lineS;

          因為如果發(fā)送的消息末尾沒有l(wèi)ine.separator的話。。在客戶端

          ???????BufferedReader?in?=?new?BufferedReader(
          ?????????new?InputStreamReader(socket
          ???????????.getInputStream()));
          ???????while?(true)?{
          ????????String?str;
          ????????while?((str?=?in.readLine())?!=?null)?{
          ?????????append(lineS?+?str);
          ????????}
          ????????Thread.sleep(500);
          ???????}
          就收不到?。消息的末端必須要有斷行符!呵呵。這樣in.readLine()才算讀到行尾才會打出來?。可以做一個試驗。輸入a,點按鈕,client沒反應(yīng),再輸入b,點按鈕,client沒反應(yīng),再輸入c,?這次用Ctrl?+?Enter發(fā)送。這樣client一次打印出abc來。。呵呵?。!!明白了?!!!!!

          posted @ 2007-01-07 21:19 Earth 閱讀(1117) | 評論 (2)編輯 收藏

               摘要:   閱讀全文

          posted @ 2006-11-15 09:29 Earth 閱讀(1161) | 評論 (0)編輯 收藏

          每次插上移動硬盤,windows都要掃描好半天,關(guān)起來也很麻煩,
          要關(guān)閉自動播放的功能,操作如下:
          Fn+R,???? 輸入gpedit.msc,回車 
          然后依次點擊 計算機配置-〉管理模版-〉系統(tǒng)-〉關(guān)閉自動播放

          posted @ 2006-11-10 09:13 Earth 閱讀(327) | 評論 (0)編輯 收藏

               摘要:   閱讀全文

          posted @ 2006-10-25 22:46 Earth 閱讀(340) | 評論 (0)編輯 收藏

          好久不博,恢復(fù)中~~
          主要原因好久不弄JAVA,
          今天晚上回來。把IBM SDK 1.4.2, ECLIPSE3.1.2裝好后, 又下了swt designer5.0及破解文件
          一番辛苦,把hello world 弄出來咯~~

          其中有一個叫swt-win32-3139.dll的SWT原生包文件在D:\eclipse\configuration\org.eclipse.osgi\bundles\14\1\.cp下面。需要拷貝到C:
          WINDOWS\system32下面

          嗯。下一篇是關(guān)于hello world jdom的。等我弄好了再博一篇

          posted @ 2006-10-25 22:06 Earth 閱讀(366) | 評論 (0)編輯 收藏

          The first good news:
          Sky win the WCG2006 champion, follow this link and leave a message there:
          sky's sina blog

          The second good news:
          I received?5 ubuntu?CDs today from?receptionist due to my subscription one month ago from Ubuntu Official Website, tho it's 6.06 LTS, it's terrific news for me! i m very excited about that~

          posted @ 2006-10-23 21:19 Earth 閱讀(225) | 評論 (0)編輯 收藏

               摘要:   閱讀全文

          posted @ 2006-10-08 10:00 Earth 閱讀(3265) | 評論 (0)編輯 收藏

               摘要: 北京的冬季,地上還有積雪,灰黑色的禿樹枝丫叉于晴朗的天空中,而遠處有

          一二風(fēng)箏浮動,在我是一種驚異和悲哀。  閱讀全文

          posted @ 2006-09-23 21:41 Earth 閱讀(217) | 評論 (0)編輯 收藏

          僅列出標(biāo)題
          共6頁: 1 2 3 4 5 6 下一頁 
          主站蜘蛛池模板: 平和县| 平乐县| 纳雍县| 德庆县| 临汾市| 云南省| 牙克石市| 青海省| 二手房| 于都县| 旺苍县| 太保市| 建平县| 修水县| 长岛县| 雷山县| 湖南省| 偃师市| 响水县| 白沙| 张掖市| 手游| 富民县| 淄博市| 阿拉善盟| 阿克陶县| 辉南县| 四川省| 虹口区| 桑日县| 太湖县| 兴仁县| 遵化市| 名山县| 深泽县| 新密市| 平舆县| 类乌齐县| 达拉特旗| 东山县| 沈丘县|