Добавить
Уведомления

Java swing Tutorial 1: Make a JFrame

Hey guys sam here and in this video I am gonna show you all how to make a basic JFrame in java Ok so this code was actually very short, So I gave it here youtube itself, but I will be uploading my code to github ok. hop you may enjoy!! import javax.swing.*; public class tutorial { tutorial() { JFrame frame = new JFrame("tutorial"); frame.setVisible(true); frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE); frame.setSize(500,400); frame.setResizable(false); } public static void main(String[] sam) { new tutorial(); } } ok so thank you for watching!!

Иконка канала Java Бест Практики
2 подписчика
12+
14 просмотров
2 года назад
5 декабря 2023 г.
12+
14 просмотров
2 года назад
5 декабря 2023 г.

Hey guys sam here and in this video I am gonna show you all how to make a basic JFrame in java Ok so this code was actually very short, So I gave it here youtube itself, but I will be uploading my code to github ok. hop you may enjoy!! import javax.swing.*; public class tutorial { tutorial() { JFrame frame = new JFrame("tutorial"); frame.setVisible(true); frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE); frame.setSize(500,400); frame.setResizable(false); } public static void main(String[] sam) { new tutorial(); } } ok so thank you for watching!!

, чтобы оставлять комментарии