I have:
public class BaseStationFrame1 extends JFrame
{
    JButton activateButton;
    JButton deactivateButton;
    BaseStation bs;
    JTextField networkIdField;
    JTextField portField;
    public BaseStationFrame1(BaseStation _bs){
        bs = _bs;
        setTitle("Base Station");
        setSize(600,500); 
        setLocation(100,200);  
        setVisible(true);
        activateButton = new JButton("Activate");
        deactivateButton = new JButton("Deactivate");
        Container content = this.getContentPane();
        content.setBackground(Color.white);
        content.setLayout(new FlowLayout()); 
        content.add(activateButton);
        content.add(deactivateButton);
        networkIdField = new JTextField("networkId : "+ bs.getNetworkId());
        networkIdField.setEditable(false);
        content.add(networkIdField);
        portField = new JTextField("portId : "+ bs.getPort());
        portField.setEditable(false);
        content.add(portField);}
    }
My problem is that i don't want the two TextFields to appear on the right of Activate and Deactivate buttons but below them. How can i fix that?
 
     
     
    