?? array.java~20~
字號:
package untitled2;import java.awt.*;import java.awt.event.*;import java.applet.*;public class array extends Applet { int i=1; int j=1; boolean isStandalone = false; /**Get a parameter value*/ public String getParameter(String key, String def) { return isStandalone ? System.getProperty(key, def) : (getParameter(key) != null ? getParameter(key) : def); } /**Construct the applet*/ public array() { } /**Initialize the applet*/ public void init() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } /**Component initialization*/ private void jbInit() throws Exception { } /**Get Applet information*/ public String getAppletInfo() { return "Applet Information"; } /**Get parameter info*/ public String[][] getParameterInfo() { return null; } public void paint(Graphics g){ int mul[][] = { {1,2,3}, {2,3,4}, {5,6,7}, }; for (i=0;i<3;i++){ for (j=0;j<3;j++){ g.drawString(""+mul[i][j],i*30+10,j*15+10); } } }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -