Oh. Look at that. I saved the module-info.java and it fixed the errors..
My Bad. Looks like sometimes you need to save stuff and sometimes not.
I'm new to this.
in April 2020 using Eclipse Version: 2020-03 (4.15.0)
and JavaSE-13, I'm getting the following:
just changed the module-info.java to contain:
module guiExample {
requires java.desktop;
}
and still have these errors:
Description Resource Path Location Type
BorderLayout cannot be resolved to a type MyCalc.java /GuiExample/src/com/windyweather line 38 Java Problem
EmptyBorder cannot be resolved to a type MyCalc.java /GuiExample/src/com/windyweather line 37 Java Problem
EventQueue cannot be resolved MyCalc.java /GuiExample/src/com/windyweather line 18 Java Problem
JFrame cannot be resolved to a type MyCalc.java /GuiExample/src/com/windyweather line 10 Java Problem
JFrame cannot be resolved to a variable MyCalc.java /GuiExample/src/com/windyweather line 34 Java Problem
JPanel cannot be resolved to a type MyCalc.java /GuiExample/src/com/windyweather line 12 Java Problem
[...]
[Updated on: Thu, 16 April 2020 10:57] by Moderator