cannot find symbol
symbol : method setExtent(int,int,int,int)
location: class NewMain
Note: C:\Users\narendra\Documents\NetBeansProjects\JavaApplication3\src\NewMain.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
posted 4 years ago
Error indicates that it cannot find the method with the signature - setExtent(int,int,int,int). There is no method in the given signature in your code or in the JFrame class extended by the NewMain class. Did you write the code or got the code from some other source?