
Shuvam C. answered 05/23/22
Dedicated Tutor & CS Major at University of Michigan
It seems that the problem is that you are attempting to instantiate the AbsoluteConstraints class from the awtextra library which isn't installed by default in VSCode. Since NetBeans developed the awtextra library, I assume that they may have installed that dependency by default in their IDE, but VSCode has not.
In order to fix this, you can download the dependency online (Wyzant doesn't allow me to post links but you can just google "java awtextra maven") and install it into your program. If you're not familiar with Maven and need some help setting this up, I'd love to work with you to fix it. You can message me and we can set up a session to quickly go over it. Good luck!