📄 tanchu.java
字号:
/*
* tanchu.java
*
* Created on 2007年10月1日, 下午3:31
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package text2;
import java.io.IOException;
import java.lang.System;
import java.lang.System;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
/**
*
* @author user
*/
public class tanchu {
/** Creates a new instance of tanchu */
public tanchu() {
JFrame f = new JFrame("八数码测试");
ConsoleTextArea consoleTextArea = null;
try {
consoleTextArea = new ConsoleTextArea();
}
catch(IOException e) {
System.err.println(
"不能创建LoopedStreams:" + e);
System.exit(1);
}
consoleTextArea.setFont(java.awt.Font.decode("monospaced"));
f.getContentPane().add(new JScrollPane(consoleTextArea),
java.awt.BorderLayout.CENTER);
f.setBounds(50, 50, 400,600 );
f.dispose();
f.setVisible(true);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -