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!!
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!!