在Swing 中使用JTextArea 类实现一个文本域,其常用构造方法如下。 ... JTextArea(int r. ... JFrame frame=new JFrame("Java文本域组件示例"); //创建Frame窗口 ...
確定! 回上一頁