📄 test1.java
字号:
//package numbercruncher.mathutils;import java.awt.*;import java.awt.event.*;import java.applet.*;import javax.swing.*;public class test1 extends Applet { private boolean isStandalone = false; JTextPane jTextPane1 = new JTextPane(); //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 test1() { } //Initialize the applet public void init() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } //Component initialization private void jbInit() throws Exception { jTextPane1.setText("jTextPane1"); this.add(jTextPane1, null); } //Get Applet information public String getAppletInfo() { return "Applet Information"; } //Get parameter info public String[][] getParameterInfo() { return null; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -