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!!
On this page of the site you can watch the video online Java swing Tutorial 1: Make a JFrame with a duration of hours minute second in good quality, which was uploaded by the user Coding with sam 06 March 2018, share the link with friends and acquaintances, this video has already been watched 157 times on youtube and it was liked by 4 viewers. Enjoy your viewing!