• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMF

 
akash shrimali
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This code is showing error



cannot find symbol
symbol : method setExtent(int,int,int,int)
location: class NewMain
setExtent(0,0,360,250 );
Note: C:\Users\narendra\Documents\NetBeansProjects\JavaApplication3\src\NewMain.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error


 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic