You can use the constructor new JTextField(int columns). e.g. JTextField t1 = new JTextField(20);.
確定! 回上一頁