Description Resource Path Location Type
EventQueue cannot be resolved hello.java /Namaste/src line 13 Java Problem
JFrame cannot be resolved to a type hello.java /Namaste/src line 7 Java Problem
JFrame cannot be resolved to a type hello.java /Namaste/src line 17 Java Problem
JFrame cannot be resolved to a type hello.java /Namaste/src line 36 Java Problem
JFrame cannot be resolved to a type hello.java /Namaste/src line 36 Java Problem
JFrame cannot be resolved to a type hello.java /Namaste/src line 37 Java Problem
JFrame cannot be resolved to a type hello.java /Namaste/src line 38 Java Problem
JFrame cannot be resolved to a variable hello.java /Namaste/src line 38 Java Problem
Must declare a named package because this compilation unit is associated to the named module 'Namaste' hello.java /Namaste/src line 1 Java Problem
The package java.awt is not accessible hello.java /Namaste/src line 1 Java Problem
The type javax.swing.JFrame is not accessible hello.java /Namaste/src line 3 Java Problem
Asked
Active
Viewed 112 times
0

Frakcool
- 10,915
- 9
- 50
- 89

Gurpreet Singh
- 1
- 2
-
11) For better help sooner, [edit] to add a [MCVE] or [Short, Self Contained, Correct Example](http://www.sscce.org/). 2) I'd recommend not using the GUI builder until you understand how to layout a GUI using the Java code (that you write). To use them well, it is necessary to understand how the layouts work in any case. – Andrew Thompson Jan 21 '21 at 00:57
-
1You need to configure the build path for your Java project. You probably also need to create a `module-info.java` file that contains the following line: `requires java.desktop;` – Abra Jan 22 '21 at 06:47
-
*"Thank you"* Tip: Add @Abra (or whoever, the `@` is important) to *notify* the person of a new comment. – Andrew Thompson Jan 22 '21 at 11:36