Antwort: How to load an image

Posted by Joachim Wesner on
URL: http://imagej.273.s1.nabble.com/How-to-load-an-image-tp3695780p3695781.html

Hi,

it seems you are missing

import ij.io.*;

that´s where FileInfo is, import ij.* won´t work (not recursive)

JW

ImageJ Interest Group <[hidden email]> schrieb am 24.06.2008 15:51:29:

> 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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________