﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-快乐着飞舞着-文章分类-J2se</title><link>http://www.cnitblog.com/reene/category/221.html</link><description>---Nothing to do  is  doing nothing</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 14:14:36 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 14:14:36 GMT</pubDate><ttl>60</ttl><item><title>使用 skinLf 的例子</title><link>http://www.cnitblog.com/reene/articles/702.html</link><dc:creator>快乐着飞舞着</dc:creator><author>快乐着飞舞着</author><pubDate>Sun, 03 Jul 2005 10:29:00 GMT</pubDate><guid>http://www.cnitblog.com/reene/articles/702.html</guid><wfw:comment>http://www.cnitblog.com/reene/comments/702.html</wfw:comment><comments>http://www.cnitblog.com/reene/articles/702.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/reene/comments/commentRss/702.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/reene/services/trackbacks/702.html</trackback:ping><description><![CDATA[<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">&nbsp;1</SPAN><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">mport&nbsp;java.io.</SPAN><SPAN style="COLOR: #000000">*</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>import&nbsp;java.awt.</SPAN><SPAN style="COLOR: #000000">*</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>import&nbsp;java.awt.</SPAN><SPAN style="COLOR: #0000ff">event</SPAN><SPAN style="COLOR: #000000">.</SPAN><SPAN style="COLOR: #000000">*</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>import&nbsp;javax.swing.</SPAN><SPAN style="COLOR: #000000">*</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>import&nbsp;com.l2fprod.gui.plaf.skin.</SPAN><SPAN style="COLOR: #000000">*</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top>import&nbsp;com.l2fprod.util.</SPAN><SPAN style="COLOR: #000000">*</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_180_1405_Open_Image onclick="this.style.display='none'; Codehighlighter1_180_1405_Open_Text.style.display='none'; Codehighlighter1_180_1405_Closed_Image.style.display='inline'; Codehighlighter1_180_1405_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_180_1405_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_180_1405_Closed_Text.style.display='none'; Codehighlighter1_180_1405_Open_Image.style.display='inline'; Codehighlighter1_180_1405_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000">&nbsp;demo&nbsp;extends&nbsp;JApplet&nbsp;</SPAN><SPAN id=Codehighlighter1_180_1405_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_180_1405_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_186_235_Open_Image onclick="this.style.display='none'; Codehighlighter1_186_235_Open_Text.style.display='none'; Codehighlighter1_186_235_Closed_Image.style.display='inline'; Codehighlighter1_186_235_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_186_235_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_186_235_Closed_Text.style.display='none'; Codehighlighter1_186_235_Open_Image.style.display='inline'; Codehighlighter1_186_235_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_186_235_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</SPAN></FONT></FONT><SPAN id=Codehighlighter1_186_235_Open_Text><SPAN style="COLOR: #008000"><FONT face="Courier New" size=2>/*</FONT></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008000">*<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Constructor&nbsp;for&nbsp;the&nbsp;demo&nbsp;object<BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #008000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">*/</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_255_261_Open_Image onclick="this.style.display='none'; Codehighlighter1_255_261_Open_Text.style.display='none'; Codehighlighter1_255_261_Closed_Image.style.display='inline'; Codehighlighter1_255_261_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_255_261_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_255_261_Closed_Text.style.display='none'; Codehighlighter1_255_261_Open_Image.style.display='inline'; Codehighlighter1_255_261_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;demo()&nbsp;</SPAN><SPAN id=Codehighlighter1_255_261_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_255_261_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">12</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">13</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_305_444_Open_Image onclick="this.style.display='none'; Codehighlighter1_305_444_Open_Text.style.display='none'; Codehighlighter1_305_444_Closed_Image.style.display='inline'; Codehighlighter1_305_444_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_305_444_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_305_444_Closed_Text.style.display='none'; Codehighlighter1_305_444_Open_Image.style.display='inline'; Codehighlighter1_305_444_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000">&nbsp;createUI(String[]&nbsp;themes)&nbsp;</SPAN><SPAN id=Codehighlighter1_305_444_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_305_444_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">14</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.getContentPane().setLayout(</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;BorderLayout(</SPAN><SPAN style="COLOR: #000000">3</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">3</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">));<BR></SPAN><SPAN style="COLOR: #008080">15</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.getContentPane().add(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Center</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">&nbsp;demoPanel(themes));<BR></SPAN><SPAN style="COLOR: #008080">16</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">17</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_506_1403_Open_Image onclick="this.style.display='none'; Codehighlighter1_506_1403_Open_Text.style.display='none'; Codehighlighter1_506_1403_Closed_Image.style.display='inline'; Codehighlighter1_506_1403_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_506_1403_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_506_1403_Closed_Text.style.display='none'; Codehighlighter1_506_1403_Open_Image.style.display='inline'; Codehighlighter1_506_1403_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000">&nbsp;main(String[]&nbsp;args)&nbsp;throws&nbsp;Exception&nbsp;</SPAN><SPAN id=Codehighlighter1_506_1403_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_506_1403_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">18</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_537_905_Open_Image onclick="this.style.display='none'; Codehighlighter1_537_905_Open_Text.style.display='none'; Codehighlighter1_537_905_Closed_Image.style.display='inline'; Codehighlighter1_537_905_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_537_905_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_537_905_Closed_Text.style.display='none'; Codehighlighter1_537_905_Open_Image.style.display='inline'; Codehighlighter1_537_905_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;(args.length&nbsp;</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">)&nbsp;</SPAN><SPAN id=Codehighlighter1_537_905_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_537_905_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">19</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;themepack&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;args[</SPAN><SPAN style="COLOR: #000000">0</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">];<BR></SPAN><SPAN style="COLOR: #008080">20</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_623_755_Open_Image onclick="this.style.display='none'; Codehighlighter1_623_755_Open_Text.style.display='none'; Codehighlighter1_623_755_Closed_Image.style.display='inline'; Codehighlighter1_623_755_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_623_755_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_623_755_Closed_Text.style.display='none'; Codehighlighter1_623_755_Open_Image.style.display='inline'; Codehighlighter1_623_755_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;(themepack.endsWith(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">))&nbsp;</SPAN><SPAN id=Codehighlighter1_623_755_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_623_755_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">21</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SkinLookAndFeel.setSkin(SkinLookAndFeel.loadThemePackDefinition(SkinUtils.toURL(</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;File(args[</SPAN><SPAN style="COLOR: #000000">0</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">]))));<BR></SPAN><SPAN style="COLOR: #008080">22</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_762_857_Open_Image onclick="this.style.display='none'; Codehighlighter1_762_857_Open_Text.style.display='none'; Codehighlighter1_762_857_Closed_Image.style.display='inline'; Codehighlighter1_762_857_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_762_857_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_762_857_Closed_Text.style.display='none'; Codehighlighter1_762_857_Open_Image.style.display='inline'; Codehighlighter1_762_857_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN id=Codehighlighter1_762_857_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_762_857_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">23</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SkinLookAndFeel.setSkin(SkinLookAndFeel.loadThemePack(args[</SPAN><SPAN style="COLOR: #000000">0</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">]));<BR></SPAN><SPAN style="COLOR: #008080">24</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"><FONT face="Courier New" size=2>25</FONT></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SkinLookAndFeel.enable();<BR></SPAN><SPAN style="COLOR: #008080">26</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">27</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;demo&nbsp;d&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">&nbsp;demo();<BR></SPAN><SPAN style="COLOR: #008080">28</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;d.createUI(args);<BR></SPAN><SPAN style="COLOR: #008080">29</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JFrame&nbsp;f&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;JFrame(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Skin&nbsp;Look&nbsp;And&nbsp;Feel&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">&nbsp;SkinLookAndFeel.VERSION);<BR></SPAN><SPAN style="COLOR: #008080">30</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.getContentPane().setLayout(</SPAN><SPAN style="COLOR: #0000ff">new</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">&nbsp;BorderLayout());<BR></SPAN><SPAN style="COLOR: #008080">31</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.getContentPane().add(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Center</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">,&nbsp;d);<BR></SPAN><SPAN style="COLOR: #008080">32</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.pack();<BR></SPAN><SPAN style="COLOR: #008080">33</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">WindowUtils.centerOnScreen(f);</SPAN></FONT></FONT><SPAN style="COLOR: #008000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">34</SPAN><SPAN style="COLOR: #008000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.setVisible(</SPAN><SPAN style="COLOR: #0000ff">true</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">35</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_1280_1395_Open_Image onclick="this.style.display='none'; Codehighlighter1_1280_1395_Open_Text.style.display='none'; Codehighlighter1_1280_1395_Closed_Image.style.display='inline'; Codehighlighter1_1280_1395_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1280_1395_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1280_1395_Closed_Text.style.display='none'; Codehighlighter1_1280_1395_Open_Image.style.display='inline'; Codehighlighter1_1280_1395_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.addWindowListener(</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;WindowAdapter()&nbsp;</SPAN><SPAN id=Codehighlighter1_1280_1395_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_1280_1395_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">36</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_1339_1385_Open_Image onclick="this.style.display='none'; Codehighlighter1_1339_1385_Open_Text.style.display='none'; Codehighlighter1_1339_1385_Closed_Image.style.display='inline'; Codehighlighter1_1339_1385_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1339_1385_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1339_1385_Closed_Text.style.display='none'; Codehighlighter1_1339_1385_Open_Image.style.display='inline'; Codehighlighter1_1339_1385_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000">&nbsp;windowClosing(WindowEvent&nbsp;</SPAN><SPAN style="COLOR: #0000ff">event</SPAN><SPAN style="COLOR: #000000">)&nbsp;</SPAN><SPAN id=Codehighlighter1_1339_1385_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnitblog.com/images/dot.gif"></SPAN></FONT></FONT><SPAN id=Codehighlighter1_1339_1385_Open_Text><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">37</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.exit(</SPAN><SPAN style="COLOR: #000000">0</SPAN></FONT></FONT><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">38</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">39</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">40</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">41</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></FONT></FONT></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><FONT face="Courier New"><FONT size=2><SPAN style="COLOR: #008080">42</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align=top></SPAN></FONT></FONT></DIV></DIV><BR><A href="http://sourceforge.net/projects/skinlf/">http://sourceforge.net/projects/skinlf/</A>&nbsp;<img src ="http://www.cnitblog.com/reene/aggbug/702.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/reene/" target="_blank">快乐着飞舞着</a> 2005-07-03 18:29 <a href="http://www.cnitblog.com/reene/articles/702.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[导入]值的关注的Java开源项目</title><link>http://www.cnitblog.com/reene/articles/650.html</link><dc:creator>快乐着飞舞着</dc:creator><author>快乐着飞舞着</author><pubDate>Thu, 30 Jun 2005 02:48:00 GMT</pubDate><guid>http://www.cnitblog.com/reene/articles/650.html</guid><wfw:comment>http://www.cnitblog.com/reene/comments/650.html</wfw:comment><comments>http://www.cnitblog.com/reene/articles/650.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/reene/comments/commentRss/650.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/reene/services/trackbacks/650.html</trackback:ping><description><![CDATA[http://blog.csdn.net/savage711/archive/2005/04/07/339015.aspx<img src ="http://blog.csdn.net/redv/aggbug/345252.aspx" width = "1" height = "1" /><br>文章来源:<a href='http://blog.csdn.net/redv/archive/2005/04/13/345252.aspx'>http://blog.csdn.net/redv/archive/2005/04/13/345252.aspx</a><img src ="http://www.cnitblog.com/reene/aggbug/650.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/reene/" target="_blank">快乐着飞舞着</a> 2005-06-30 10:48 <a href="http://www.cnitblog.com/reene/articles/650.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>