锘??xml version="1.0" encoding="utf-8" standalone="yes"?>午夜免费久久久久,h网站视频在线观看,亚洲激情国产http://www.aygfsteel.com/ejber/category/6136.html涓浜涘績寰椾綋浼?.zh-cnFri, 02 Mar 2007 03:21:30 GMTFri, 02 Mar 2007 03:21:30 GMT60Java Application鍚姩鐢婚潰鐨勫埗浣?/title><link>http://www.aygfsteel.com/ejber/archive/2005/12/19/24548.html</link><dc:creator>椋庨</dc:creator><author>椋庨</author><pubDate>Mon, 19 Dec 2005 00:51:00 GMT</pubDate><guid>http://www.aygfsteel.com/ejber/archive/2005/12/19/24548.html</guid><wfw:comment>http://www.aygfsteel.com/ejber/comments/24548.html</wfw:comment><comments>http://www.aygfsteel.com/ejber/archive/2005/12/19/24548.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ejber/comments/commentRss/24548.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ejber/services/trackbacks/24548.html</trackback:ping><description><![CDATA[<FONT size=2>鐜拌薄錛?BR><BR>銆銆JBuilder鍚姩鏃舵湁涓涓惎鍔ㄧ敾闈紝鍦↗builder鎵鏈夌殑鍒濆鍖栧伐浣滈兘瀹屾垚涔嬪悗錛屽惎鍔ㄧ敾闈㈡秷澶憋紝緇ц孞Builder鍙互寮濮嬩嬌鐢ㄣ?BR><BR>銆銆瑙e喅鏂規錛?BR><BR>銆銆璇ユ柟妗堝熀浜庢垜鎵鍋氳繃鐨勪竴涓」鐩?BR><BR>銆銆1銆佹柊寤轟竴涓惎鍔ㄧ敾闈indow綾?BR><BR>銆銆java.awt.Window windowSplash;<BR><BR>銆銆2銆佽皟鐢╬repareSplash()鍑芥暟錛屽垵濮嬪寲鍚姩鐣岄潰<BR><BR>銆銆private void prepareSplash錛堬級 <BR>銆{<BR>銆銆銆銆Toolkit toolkit = Toolkit.getDefaultToolkit錛堬級錛?<BR>銆銆銆銆windowSplash = new Window錛?this 錛夛紱 <BR>銆銆銆銆Image image = toolkit.getImage錛?"images" + File.separator + "splash.gif" 錛夛紱 <BR>銆銆銆銆ImageCanvas canvas = new ImageCanvas錛?image 錛夛紱 <BR>銆銆銆銆windowSplash.add錛?canvas, "Center" 錛夛紱 <BR>銆銆銆銆Dimension scmSize = toolkit.getScreenSize錛堬級錛?<BR>銆銆銆銆int imgWidth = image.getWidth錛?this 錛夛紱 <BR>銆銆銆銆int imgHeight = image.getHeight錛?this 錛夛紱 <BR>銆銆銆銆windowSplash.setLocation錛?scmSize.width/2 - 錛坕mgWidth/2錛? scmSize.height/2 - 錛坕mgHeight/2錛?錛夛紱 <BR>銆銆銆windowSplash.setSize錛?imgWidth, imgHeight 錛夛紱<BR>銆銆} <BR><BR>銆銆3銆佸湪Application鐨凧Frame綾伙紙涓葷晫闈級涓皟鐢╯tartSplash錛堬級錛屾樉紺哄惎鍔ㄧ晫闈紝鐒跺悗鍒濊瘯鍖朖Frame鐨勫悇涓彲瑙嗗寲緇勪歡錛屽垵濮嬪寲鍚庡彴鏁版嵁搴撶瓑錛堝鏁版嵁<BR>搴撶殑榪炴帴錛?BR><BR>銆銆private void startSplash錛堬級<BR>銆銆{<BR>銆銆銆銆windowSplash.setVisible錛?true 錛夛紱 <BR>銆銆銆windowSplash.toFront錛堬級錛?BR>銆銆}<BR><BR>銆銆4銆佸湪鎵鏈夌殑鍒濆鍖栧伐浣滃畬鎴愪箣鍚庯紝璋冪敤stopSplash錛堬級鍑芥暟錛屽仠姝㈡樉紺哄惎鍔ㄧ敾闈?BR><BR>銆銆private void stopSplash錛堬級 <BR>{ <BR>銆銆銆windowSplash.dispose錛堬級錛?<BR>銆}<BR></FONT><img src ="http://www.aygfsteel.com/ejber/aggbug/24548.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ejber/" target="_blank">椋庨</a> 2005-12-19 08:51 <a href="http://www.aygfsteel.com/ejber/archive/2005/12/19/24548.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>璁$畻涓嫳鏂囧悎騫剁殑瀛楃涓茬殑闀垮害http://www.aygfsteel.com/ejber/archive/2005/12/19/24547.html椋庨椋庨Mon, 19 Dec 2005 00:49:00 GMThttp://www.aygfsteel.com/ejber/archive/2005/12/19/24547.htmlhttp://www.aygfsteel.com/ejber/comments/24547.htmlhttp://www.aygfsteel.com/ejber/archive/2005/12/19/24547.html#Feedback0http://www.aygfsteel.com/ejber/comments/commentRss/24547.htmlhttp://www.aygfsteel.com/ejber/services/trackbacks/24547.htmlimport java.io.*;
public class StringTest
{
public static void main(String[] args)
{
String aString = "榪欐槸涓涓祴璇曚覆錛孴his is a test string.";
String anotherString = null;
try {
anotherString = new String(aString.getBytes("GBK"), "ISO8859_1");
}
catch (UnsupportedEncodingException ex) {
}
System.out.println(aString.length() + "," + anotherString.length());
}
}


椋庨 2005-12-19 08:49 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 英吉沙县| 灵山县| 民县| 陆丰市| 闽侯县| 诏安县| 施甸县| 曲周县| 萝北县| 舟山市| 通州市| 平果县| 兴城市| 乌苏市| 靖远县| 余干县| 房产| 年辖:市辖区| 翼城县| 防城港市| 娄烦县| 马尔康县| 怀仁县| 宁海县| 平顺县| 葫芦岛市| 中牟县| 乡城县| 潜江市| 古蔺县| 楚雄市| 西畴县| 探索| 龙井市| 贵德县| 和静县| 措美县| 罗山县| 兴化市| 武乡县| 忻城县|