disable floppy check

A

Abs

Hi!

How can I disable that annoying java popup that shows up when
there is no floppy on the drive when I try to get the system root
files ?

FileSystemView fsv=FileSystemView.getFileSystemView();
fsv.getRoots()[0];



thanks
 
T

Thomas Weidenfeller

Abs said:
How can I disable that annoying java popup that shows up when
there is no floppy on the drive when I try to get the system root
files ?

FileSystemView fsv=FileSystemView.getFileSystemView();
fsv.getRoots()[0];

Search Sun's bug parade, maybe they finally got their ... up and fixed
it in some Java version. FileSystemView was introced with JFileChooser,
and all JFileChooser related things are significantly broken
(JFileChooser is the second worst GUI component, JTable is the worst).

Good Luck,

/Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top