i want this window to be like this
CYP BANKING SYSTEM
username [_________]
password [_________]
LOGIN
can anyone help me with the layout?, the flowlayout is just a single row!
Container logincontainer=getContentPane();
logincontainer.setLayout( new FlowLayout());
JLabel Title=new JLabel("CYP BANKING SYSTEM");
Title.setFont( new Font( "", Font.BOLD, 40 ) );
JLabel Username=new JLabel("username");
JLabel Password=new JLabel("password");
JTextField UsernameText=new JTextField(10);
JTextField PasswordText=new JPasswordField(10);
JButton Login=new JButton("LOGIN");
logincontainer.add(Title);
logincontainer.add(Username);
logincontainer.add(Password);
logincontainer.add(UsernameText);
logincontainer.add(PasswordText);
logincontainer.add(Login);
logincontainer.setSize( 300, 400 );
logincontainer.setVisible(true);