锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产一区网站,欧美精品久久久久久久久久丰满,亚洲性视频在线http://www.aygfsteel.com/linchanx/category/2192.html<font face='comic sans ms' color='#3300ff'>linchanx's lab</font>zh-cnFri, 02 Mar 2007 02:54:23 GMTFri, 02 Mar 2007 02:54:23 GMT60- Java Applet灝忎簨渚?/title>http://www.aygfsteel.com/linchanx/articles/7978.htmllinchanxlinchanxTue, 19 Jul 2005 03:20:00 GMThttp://www.aygfsteel.com/linchanx/articles/7978.htmlhttp://www.aygfsteel.com/linchanx/comments/7978.htmlhttp://www.aygfsteel.com/linchanx/articles/7978.html#Feedback0http://www.aygfsteel.com/linchanx/comments/commentRss/7978.htmlhttp://www.aygfsteel.com/linchanx/services/trackbacks/7978.html
榪欎釜Applet鏄敤鏉ュ湪緗戦〉涓婃樉紺轟竴涓狟utton.鐢ㄥ埌JApplet綾?/P>
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.applet.*;
import javax.swing.*;


public class SwingApplet extends JApplet
{

JButton button;


public void init()
{


String laf = UIManager.getSystemLookAndFeelClassName();

try
{
UIManager.setLookAndFeel(laf);
// UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());

} catch (UnsupportedLookAndFeelException exc)
{
System.err.println("Warning: UnsupportedLookAndFeel: " + laf);

} catch (Exception exc)
{
System.err.println("Error loading " + laf + ": " + exc);
}

getContentPane().setLayout(new FlowLayout());
button = new JButton("Hello, I'm a Swing Button!");
getContentPane().add(button);
}


public void stop()
{

if (button != null)
{
getContentPane().remove(button);
button = null;
}
}
}


]]>
主站蜘蛛池模板:
大理市|
江永县|
南召县|
赤城县|
德江县|
滕州市|
轮台县|
三门县|
丰都县|
泸水县|
太白县|
鄯善县|
综艺|
古交市|
廊坊市|
新龙县|
宜宾市|
炉霍县|
临武县|
汝阳县|
泰州市|
乐东|
阳东县|
林口县|
吉木萨尔县|
峨山|
河北省|
小金县|
武义县|
吴旗县|
钟祥市|
紫云|
泉州市|
惠水县|
星座|
大田县|
大新县|
凯里市|
昂仁县|
牡丹江市|
监利县|