📄 spoken.java~9~
字号:
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();
XYLayout xYLayout2 = new XYLayout();
XYLayout xYLayout3 = new XYLayout();
public Spoken() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
this.setLayout(borderLayout1);
jPanel2.setLayout(xYLayout1);
jButton1.setText("保存");
jButton2.setText("重写");
jEditorPane1.setText("jEditorPane1");
jButton3.setText("播放");
jButton4.setText("暂停");
jButton5.setText("上");
jButton6.setText("下");
jTextArea1.setText("jTextArea1");
jPanel4.setLayout(xYLayout2);
jPanel3.setLayout(xYLayout3);
this.add(jPanel1, java.awt.BorderLayout.WEST);
jPanel1.add(jScrollPane1);
this.add(jPanel2, java.awt.BorderLayout.CENTER);
jScrollPane1.getViewport().add(jTree1);
jScrollPane3.getViewport().add(jTextArea1);
jPanel2.add(jButton4, new XYConstraints(304, 87, 60, 33));
jPanel2.add(jButton3, new XYConstraints(304, 34, 60, 31));
jPanel2.add(jButton6, new XYConstraints(304, 179, 60, 36));
jScrollPane2.getViewport().add(jEditorPane1);
jPanel2.add(jButton2, new XYConstraints(299, 337, 65, 29));
jPanel2.add(jButton1, new XYConstraints(300, 301, 64, 30));
jPanel2.add(jButton5, new XYConstraints(304, 141, 60, 35));
jPanel3.add(jScrollPane3, new XYConstraints(3, 5, 290, 268));
jPanel2.add(jPanel3, new XYConstraints(0, 4, 298, 280));
jPanel2.add(jPanel4, new XYConstraints(5, 284, 288, 89));
jPanel4.add(jScrollPane2, new XYConstraints( -5, 5, -1, 84));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -