/
RFIDGUI.java
68 lines (59 loc) · 2.13 KB
/
RFIDGUI.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
public class RFIDGUI extends JPanel {
/*private JLabel label;*/
public static JTextField Question = new JTextField(ThreadTwoTestTwo.randomQuestionStatement);
//public static JTextField Points = new JTextField("0"/*ThreadTwoTestTwo.playerPoints*/);
public static JFrame Placeholder0 = new JFrame(" ");
public static JFrame Placeholder1 = new JFrame(" ");
public static JFrame Placeholder2 = new JFrame(" ");
public static JFrame Placeholder3 = new JFrame(" ");
public static JFrame Placeholder4 = new JFrame(" ");
public static JFrame Placeholder5 = new JFrame(" ");
public static JFrame Placeholder6 = new JFrame(" ");
public static JFrame Placeholder7 = new JFrame(" ");
public static JFrame Placeholder8 = new JFrame(" ");
public static boolean Inter = true;
public static boolean secondDoneYet = false;
public int count = 0;
Point p = new Point(1600,900);
public RFIDGUI() {
setLayout(new FlowLayout());
//label = new JTextField(ThreadTwoTestTwo.randomQuestionStatement);
Question.setFont(new Font("Serif", Font.BOLD, 18));
//Points.setFont(new Font("Serif", Font.BOLD, 50));
//Question.setBounds(300, 250, 900, 300);
//Points.setBounds(1200, 600, 300, 200);
//Points.setHorizontalAlignment(JTextField.RIGHT);
//Points.set
Question.setForeground(Color.blue);
//Points.setForeground(Color.red);
add(Question);
//Question.validate();
//add(Points, BorderLayout.SOUTH);
//Points.validate();
//Question.setLocation(0, 0);
//Points.setLocation(1600,900);
/*while(count<70){
//secondDoneYet = false;
while (!secondDoneYet) {
//label = new JTextField(ThreadTwoTestTwo.randomQuestionStatement);
label.repaint();
secondDoneYet = true;
count++;
/*
* while(ThreadTwoTestTwo.amountOfQuestions <=60){
* label.repaint(); }
*/
}
//}
}
//}
/*
* public JFrame Tester = new
* JFrame("The Tiny Tinkering Elves Present: World Geography Breakdown");
* private JPanel pnlNorth = new JPanel(); private JPanel pnlSouthWest = new
* JPanel(); private JPanel pnlSouthEast = new JPanel();
*/