Wildcard in FileFilter is resetting my File Type

Discussion in 'Java' started by cjaouhar@hotmail.com, May 26, 2006.

  1. Guest

    I am using a FileFilter with the following extension "*.doc". The
    getDescription() method for that extension returns "Microsoft Word
    Document", which is what gets displayed in the "Files of Type"
    dropdown. My problem is that if the user enter a wildcard (*) in the
    "File Name" field and hit enter, it changes the "Files of Type" drop
    down to that as well.

    How do you prevent the "Files of Type" selection from changing when
    using wildcard?
     
    , May 26, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sebastian Hoehn

    Re: FileFilter

    Sebastian Hoehn, Jun 29, 2003, in forum: Java
    Replies:
    1
    Views:
    2,317
  2. P.Hill
    Replies:
    6
    Views:
    6,335
    P.Hill
    Nov 18, 2003
  3. Frank
    Replies:
    5
    Views:
    514
    Andrew Thompson
    Jan 14, 2005
  4. Replies:
    7
    Views:
    845
  5. WoodHacker

    Gtk::FileFilter

    WoodHacker, Nov 1, 2006, in forum: Ruby
    Replies:
    2
    Views:
    169
    WoodHacker
    Nov 2, 2006
Loading...

Share This Page