I haven't looked at the class, but can't you just extend the class, and add
your desired behaviour?
Jeff
-----Original Message-----
From: Muhammad Atif Ibrahim [mailto:matifibrahim@y...]
Sent: Monday, September 24, 2001 2:11 PM
To: Professional Java
Subject: [pro_java] FileDialog
As it happens in usual window programs. When you choose 'open' option
from the menu and then if you enters a file name which does not exists,
an appropriate message is displayed which mentions that 'file does not
exists'. But when you perform such action while using the "FileDialog"
class of java.awt no appropriate message appears and file dialog just
disappears. WHY? Can't we arrange 'EXACTLY THE SAME' mechanism for
java.awt.FileDialog class, if yes, please clarify it with example. Thank
you.