This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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?
Have you checked out Aspose?
subject: JMF
It's not a secret anymore!