We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d44da commit 8d0c190Copy full SHA for 8d0c190
1 file changed
FATANSWERKEY/src/newFrame.java
@@ -0,0 +1,34 @@
1
+import java.awt.EventQueue;
2
+
3
+import javax.swing.JFrame;
4
+import javax.swing.JLabel;
5
+import java.awt.Font;
6
7
+/**
8
+ *
9
+ */
10
11
12
+ * @author M.NAVEEN
13
+ * RANDOM CODER'S
14
+ * Tech/Project Lead Android Club
15
16
17
18
+public class newFrame extends JFrame{
19
+ public newFrame()
20
+ {
21
+ setBounds(0, 0, 600, 600);
22
+ getContentPane().setLayout(null);
23
24
+ JLabel main = new JLabel("Main Application");
25
+ main.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 30));
26
+ main.setBounds(128, 241, 295, 57);
27
+ getContentPane().add(main);
28
29
30
31
+ setVisible(true);
32
+ }
33
+}
34
0 commit comments