permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android 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?
It is sorta covered in the JavaRanch Style Guide.
subject: JMF
Similar Threads
Impossible to find a Player with JMF ==> NoPlayerException. Why ?
View 2 movies on the same applet
faced one error in JMF(JAVA MEDIA FRAMEWORK)
Hashtable IO
Load an avi