hello all
I create a Jpanel ,with TextField For name and password.
My question is how to increase My TextField Height,is is veri short ,I need to increase to 300 % of it's now 's height
I include partial code below
thanks
denny
JLabel lblnama=new JLabel("NAME");
JLabel lblpassword=new JLabel("PASSWORD");
JTextField tfnama=new JTextField(20);
JPasswordField tpwf=new JPasswordField(20);
JPanel lbltextpanel = new JPanel();
lbltextpanel.setLayout(new GridLayout(2,2,4,4));
lbltextpanel.add(lblnama);
lbltextpanel.add(tfnama);
lbltextpanel.add(lblpassword);
lbltextpanel.add(tpwf);