import java.awt.*;
public class c3 extends JApplet{
public void init(){
Container c=getContentPane();
c.setLayayout(new BorderLayout());
JPanel t=new JPanel();
JLabel title=new JLabel("Kolej PTPL Ampang");
t.add(title);
c.add(t,"North");
JPanel p=new JPanel();
p.setLayount(new GridLayout(2,1));
c.add(p,"Center");
JLabel L1=new JLabel ("Nama:");
JLabel L2=new Jlabel ("No ID:");
JTextField T1=new JTextField();
p.add (L1);
p.add (T1);
p.add (L2);
p.add (T2);
}
}
Code!!
Code!!
Code!!!!
TENTION tau...every week think this...can't find output lagi....
HELP!!!!!!!!!!!!!T.T
0 comments:
Post a Comment