📄 c053de636c4f001d174bd50f6d5c7d09
字号:
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.WindowConstants;
class markText1 extends JFrame implements ActionListener
{ TextArea text1;
Button buttonClear;
markText1(String s)
{ super(s);
setLayout(new FlowLayout());
text1=new TextArea(15,20);
buttonClear=new Button("确定");
add(text1);
add(buttonClear);
this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
//text1.setEditable(false);
buttonClear.addActionListener(this);
setBounds(100,100,350,300);
setVisible(true);
validate();
}
public void actionPerformed(ActionEvent e)
{
}
}
//public class markText
//{ public static void main(String args[])
// { markText1 win=new markText1("成绩表");
// }
//}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -