This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
JimiSingleImageRasterEncoder encoder = new JimiSingleImageRasterEncoder(); JimiRasterImage raster = Jimi.createRasterImage(image.getSource()); Those are the two lines in my program. It says for this statement: JimiSingleImageRasterEncoder encoder = new JimiSingleImageRasterEncoder(); It cannot be instantiates. What do I do?
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
Is JimiSingleImageRasterEncoder abstract? Is there a constructor in your class that takes NO parameters? If there are constructors that take parameters - the compiler will no longer automatically supply one that takes none.
"JavaRanch, where the deer and the Certified play" - David O'Meara