I think you'll find that the JFileChooser stuff is no longer in a 'preview'
package but is now javax.swing.JFileChooser.
i.e. the source code of the example is out of date and needs changing.
Rob
Robert Williams wrote:
> Trying to compile FileChooserExample.java from
>
>http://java.sun.com/products/jfc/tsc/archive/tech_topics_arch/file_chooser/file_chooser.html
>
> import javax.swing.preview.*;
>
> returns a "not found in import" message.
> Is this something new that hasn't found it's way
> into the blackdown release?
>
> --
> Bob Williams, http://bob.usuhs.mil/
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Rob Nugent
Development Manager
UniKix Technologies Europe
[EMAIL PROTECTED]
http://www.unikix.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]