Professional Documents
Culture Documents
WAP To Display Label On A Frame With The Help of Jframe
WAP To Display Label On A Frame With The Help of Jframe
import javax.swing.JFrame;
import javax.swing.JLabel;
f.add(l);
f.setSize(400,400);
f.setVisible(true);
new SwingBasic().start();
}
Output