Trying to compile QT_Movie_Opener
Posted by Philip Ershler on
URL: http://imagej.273.s1.nabble.com/Trying-to-compile-QT-Movie-Opener-tp3682769.html
Hi,
I have picked up the source code for the QT_Movie_Opener plugin. I am trying to make some minor changes so that I can call this plugin from another plugin to implement a batch mode plugin. However, when I try to compile and run the original QT_Movie_Opener.java file from ImageJ, I get a bunch of DEPRECATED errors like these
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:18: warning: [deprecation] quicktime.std.image.GraphicsImporter in quicktime.std.image has been deprecated
import quicktime.std.image.GraphicsImporter;
^
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:19: warning: [deprecation] quicktime.std.image.GraphicsMode in quicktime.std.image has been deprecated
import quicktime.std.image.GraphicsMode;
^
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:23: warning: [deprecation] quicktime.std.StdQTConstants in quicktime.std has been deprecated
import quicktime.std.StdQTConstants;
^
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:33: warning: [deprecation] quicktime.qd.QDConstants in quicktime.qd has been deprecated
public class QT_Movie_Opener implements PlugIn, QDConstants, StdQTConstants, MovieDrawingComplete {
^
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:33: warning: [deprecation] quicktime.std.StdQTConstants in quicktime.std has been deprecated
public class QT_Movie_Opener implements PlugIn, QDConstants, StdQTConstants, MovieDrawingComplete {
^
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:33: warning: [deprecation] quicktime.std.movies.MovieDrawingComplete in quicktime.std.movies has been deprecated
public class QT_Movie_Opener implements PlugIn, QDConstants, StdQTConstants, MovieDrawingComplete {
^
/Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:35: warning: [deprecation] quicktime.app.view.QTImageProducer in quicktime.app.view has been deprecated
QTImageProducer qtip;// DEPRECATED!!
^
So the compiler throws all these warnings (and more) and the whole process stops. How does one handle this sort of issue.
Thanks, Phil
Philip R. Ershler Ph.D.
University of Utah
Cardiovascular Research and Training Institute
95 South 2000 East
Salt Lake City, UT 84112-5000