Computing

[Java] [Release] GUI Frame

Submitted by IcyJake, , Thread ID: 71758

Thread Closed
28-01-2018, 03:52 AM
This post was last modified: 28-01-2018, 03:53 AM by IcyJake
#1
Code:
import javax.swing.*; // I import the necessary library to do this
public class IcyJake {
  public static void main(String[] args)
  {
  JFrame frame = new JFrame("This is a test by IcyJake");
  frame.setVisible(true);
  frame.setSize(300,300);
  frame.setDefaultCloseOperation(3);
  frame.setResizable(false);
  }
}

Let me know if you need help. Tongue

Users browsing this thread: 1 Guest(s)