📄 spoken.java~7~
字号:
package english;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTree;
import javax.swing.JTextArea;
import java.awt.FlowLayout;
import com.borland.jbcl.layout.BoxLayout2;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import javax.swing.JButton;
import javax.swing.JEditorPane;
public class Spoken extends JPanel {
BorderLayout borderLayout1 = new BorderLayout();
JPanel jPanel1 = new JPanel();
JTree jTree1 = new JTree();
JScrollPane jScrollPane1 = new JScrollPane();
JPanel jPanel2 = new JPanel();
XYLayout xYLayout1 = new XYLayout();
JPanel jPanel3 = new JPanel();
JPanel jPanel4 = new JPanel();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JScrollPane jScrollPane2 = new JScrollPane();
JEditorPane jEditorPane1 = new JEditorPane();
JButton jButton3 = new JButton();
JButton jButton4 = new JButton();
JButton jButton5 = new JButton();
JButton jButton6 = new JButton();
JScrollPane jScrollPane3 = new JScrollPane();
JTextArea jTextArea1 = new JTextArea();
public Spoken() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
this.setLayout(borderLayout1);
jPanel2.setLayout(xYLayout1);
jButton1.setText("jButton1");
jButton2.setText("jButton2");
jEditorPane1.setText("jEditorPane1");
jButton3.setText("jButton3");
jButton4.setText("jButton4");
jButton5.setText("jButton5");
jButton6.setText("jButton6");
jTextArea1.setText("jTextArea1");
this.add(jPanel1, java.awt.BorderLayout.WEST);
jPanel1.add(jScrollPane1);
this.add(jPanel2, java.awt.BorderLayout.CENTER);
jScrollPane1.getViewport().add(jTree1);
jPanel4.add(jScrollPane2);
jScrollPane2.getViewport().add(jEditorPane1);
jPanel2.add(jPanel3, new XYConstraints(0, 15, 298, 255));
jPanel3.add(jScrollPane3);
jScrollPane3.getViewport().add(jTextArea1);
jPanel2.add(jPanel4, new XYConstraints(5, 284, 288, 73));
jPanel2.add(jButton1, new XYConstraints(300, 284, 64, 31));
jPanel2.add(jButton2, new XYConstraints(299, 324, 65, 30));
jPanel2.add(jButton4, new XYConstraints(304, 87, 60, 33));
jPanel2.add(jButton3, new XYConstraints(304, 34, 60, 31));
jPanel2.add(jButton5, new XYConstraints(304, 144, 60, 34));
jPanel2.add(jButton6, new XYConstraints(304, 207, 60, 34));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -