📄 utest.java
字号:
// UTest.java// A test frame work for the UberHandler drop handler. This version has// no fancy Unicode characters for ease of use. (Note that "ease of use"// only applys to humans...the Java tools are quite happy with Unicode// characters. Not all text editors are, though...)//package jswing.ch24;import javax.swing.*;public class UTest { public static void main(String args[]) { JFrame frame = new JFrame("Debugging Drop Zone"); frame.setSize(500,300); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JTextArea jta = new JTextArea(); frame.getContentPane().add(new JScrollPane(jta)); UberHandler uh = new UberHandler(); uh.setOutput(jta); jta.setTransferHandler(uh); frame.setVisible(true); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -