ch06_01.java
来自「learn to use eclipse by example」· Java 代码 · 共 44 行
JAVA
44 行
/*
* Created on Nov 3, 2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package org.eclipsebook.ch06;
import java.applet.Applet;
import java.awt.*;
/**
* @author Steven Holzner
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class Ch06_01 extends Applet {
public void init()
{
setBackground(Color.white);
}
public void start()
{
}
public void paint(Graphics g)
{
g.drawString("Hello from Eclipse!", 60, 100);
}
public void stop()
{
}
public void destroy()
{
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?