Description: */
import java.awt.Graphics
public class HelloToJava extends java.applet.Applet {
/** Initialization method that will be called after the applet is loaded
* into the browser.
*/
public String sHello
public void init() {
// TODO start asynchronous download of heavy resources
sHello="欢迎来到Java世界!"
}
public void paint(Graphics g){
g.drawString(sHello, 50, 50)
}
// TODO overwrite start(), stop() and destroy() methods
}
To Search:
File list (Check if you may need any files):
2007-7-25-182040
................\《Java语言程序设计》源代码
................\..........................\第10章
................\..........................\......\AWTDemo.class
................\..........................\......\AWTDemo.java
................\..........................\......\BorderLayoutDemo.class
................\..........................\......\BorderLayoutDemo.java
................\..........................\......\CardLayoutDemo.class
................\..........................\......\CardLayoutDemo.java
................\..........................\......\FlowLayoutDemo.class
................\..........................\......\FlowLayoutDemo.java
................\..........................\......\GridBagLayoutDemo.class
................\..........................\......\GridBagLayoutDemo.java
................\..........................\......\GridLayoutDemo.class
................\..........................\......\GridLayoutDemo.java
................\..........................\......\guangan1.class
................\..........................\......\guangan1.java
................\..........................\......\JButtonDemo.class
................\..........................\......\JButtonDemo.java
................\..........................\......\JCheckBoxDemo$StyleChange.class
................\..........................\......\JCheckBoxDemo.class
................\..........................\......\JCheckBoxDemo.java
................\..........................\......\JComboBoxDemo.class
................\..........................\......\JComboBoxDemo.java
................\..........................\......\JFileChooserDemo.class
................\..........................\......\JFileChooserDemo.java
................\..........................\......\JFrameDemo.class
................\..........................\......\JFrameDemo.java
................\..........................\......\JListDemo$MajorListener.class
................\..........................\......\JListDemo.class
................\..........................\......\JListDemo.java
................\..........................\......\JMenuDemo.class
................\..........................\......\JMenuDemo.java
................\..........................\......\JOptionPaneDemo.class
................\..........................\......\JOptionPaneDemo.java
................\..........................\......\JPanelDemo.class
................\..........................\......\JPanelDemo.java
................\..........................\......\JRadioButtonDemo$RadioListener.class
................\..........................\......\JRadioButtonDemo.class
................\..........................\......\JRadioButtonDemo.java
................\..........................\......\JSliderDemo.class
................\..........................\......\JSliderDemo.java
................\..........................\......\JTextAreaDemo.class
................\..........................\......\JTextAreaDemo.java
................\..........................\......\JTextDemo.class
................\..........................\......\JTextDemo.java
................\..........................\......\MouseKeyEventDemo$DrawChar.class
................\..........................\......\MouseKeyEventDemo$DrawLine.class
................\..........................\......\MouseKeyEventDemo$RecordFocus.class
................\..........................\......\MouseKeyEventDemo.class
................\..........................\......\MouseKeyEventDemo.htm
................\..........................\......\MouseKeyEventDemo.java
................\..........................\......\myFrame.class
................\..........................\......\sqclmx.bmp
................\..........................\......\SwingDemo.class
................\..........................\......\SwingDemo.java
................\..........................\第11章
................\..........................\......\AppletApp$1.class
................\..........................\......\AppletApp.class
................\.