File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes JMF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JMF " Watch "JMF " New topic


akash shrimali
Ranch Hand

Joined: Jul 28, 2010
Posts: 45

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\ uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

John Jai

Joined: May 31, 2011
Posts: 1776
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?
I agree. Here's the link:
subject: JMF
It's not a secret anymore!