JPanel p1=new JPanel();
p1.setLayout(new FlowLayout());
JTextField text1=new JTextField(10);
如果此时加多一条JTextField.setBounds(8,10,12,16);
就会报错Cannot make a static reference to the non-static method setBounds(int, int, int, int) from the type Component
请问要如何设置。。。。