Playlist
• Java Frontend
2023 05 21 01 53 40
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
public class pane {
JFrame ff;
public pane() {
ff = new JFrame();
JTextArea xy = new JTextArea(300, 300);
JPanel l1 = new JPanel();
l1.add(xy);
JPanel l2 = new JPanel();
JPanel l3 = new JPanel();
JTabbedPane yz = new JTabbedPane();
yz.setBounds(0, 0, 400, 400);
yz.add("main tab", l1);
yz.add("please visit", l2);
yz.add("help me", l3);
ff.add(yz);
ff.setSize(500, 500);
ff.setLayout(null);
ff.setVisible(true);
ff.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
public static void main(String[] args) {
new pane();
}
}
On this page of the site you can watch the video online Java Swing: JTabbedPane with a duration of hours minute second in good quality, which was uploaded by the user Le Hoang Long Long 20 May 2023, share the link with friends and acquaintances, this video has already been watched 82 times on youtube and it was liked by 1 viewers. Enjoy your viewing!