There is the JDE->Wizards->Import Class command. Have you tried this?
-Chuck
> -----Original Message-----
> From: tvraman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 1:10 PM
> To: jde
> Cc: tvraman
> Subject: Generating import statements automatically?
>
>
> Hi --
>
> Suppose I have a source file that refers to three classes
> from java.io.
>
> Would it be possible to somehow have JDE figure out which
> three classes (using bsh)
> and synthesize the relevant import statements?
>
> This way one could do the lazy programmer thing of typing
> import java.io.*;
> and have the thing compile cleanly --then have jde come up
> with the narrower list of import declarations
>
> Thoughts?
>
> --
> Best Regards,
> --raman
> ------------------------------------------------------------
>
> IBM Research: Human Language Technologies
> Phone: 1 (408) 927 2608
> Fax: 1 (408) 927 3012
> Email: [EMAIL PROTECTED]
> WWW: http://www.cs.cornell.edu/home/raman
> PGP: http://cs.cornell.edu/home/raman/raman.asc
> Snail: IBM Almaden Research Center,
> 650 Harry Road
> San Jose 95120
>