JTextField.setText()里的值能否从INI文件或其他文件里自动读取
初学的时候采用定值,现在想实现自动从文件获取,该如何实现
final JTextField lvfjt3=new JTextField();
final JTextField lvfjt4=new JTextField();
final JTextField lvfjt5=new JTextField();
final JTextField lvfjt6=new JTextField();
lvfjt3.setColumns(7);
lvfjt4.setColumns(7);
lvfjt5.setColumns(7);
lvfjt6.setColumns(7);
lvfjt3.setText("0.5");
lvfjt4.setText("10");
lvfjt5.setText("25");
lvfjt6.setText("10");