I have an assignment to make a Java application with a GUI in NetBeans. I made the GUI in the editor, and when I tried to compile it, I get bunch of these errors
error: package org.jdesktop.layout does not exist
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
So I looked up on the internet what to do if these errors come up, and I found out to import org.jdesktop.layout.GroupLayout;
, but it did nothing, it just gave me a bonus error:
error: package org.jdesktop.layout does not exist
import org.jdesktop.layout.GroupLayout;
If anyone knows what this is, or how I can fix it, I would really appreciate the help.