-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathQuizApp.java
30 lines (24 loc) · 839 Bytes
/
QuizApp.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package quizapp;
import java.awt.Color;
import java.awt.FlowLayout;
import javax.swing.JFrame;
public class QuizApp {
//ADDING FRAME and ADJUSTING PROPERTIES
public static JFrame frame;
public static void main(String[] args) {
frame = new JFrame("QuizApp");
frame.setLayout(new FlowLayout());
frame.getContentPane().setBackground(Color.white);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setBounds(200,60,880,640);
//frame.setUndecorated(true);
frame.setResizable(false);
frame.add(new mainPanel());
frame.setVisible(true);
}
}