How to load an image
Posted by Shawn-62 on Jun 24, 2008; 1:51pm
URL: http://imagej.273.s1.nabble.com/How-to-load-an-image-tp3695780.html
Hi, everyone, I try to build up a Plugin Frame, in which I can load an
image from files. The following is part of my code,
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import ij.plugin.frame.*;
import ij.*;
import ij.process.*;
import ij.gui.*;
import java.awt.image.*;
import java.util.zip.GZIPInputStream;
import java.net.*;
import java.util.*;
import ij.measure.*;
FileInfo fi = new FileInfo();
However, I get an error message, which says
cannot find symbol
symbol : class FileInfo
location: class myPluginFrame
FileInfo fi = new FileInfo();
Is there anyone can tell me how to fix it?
Thank you