Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1886

Re: JFileChooser features

From "Aziz" <aziz@THRWHITE.remove-dii-this>
Subject Re: JFileChooser features
Message-ID <1182655773.048045.17110@g4g2000hsf.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <9tednX5adeUuWezbnZ2dnUVZ_riknZ2d@comcast.com>
Date 2011-04-27 15:35 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Jun 14, 6:44 pm, Lew <l...@lewscanon.nospam> wrote:
> anthony.a...@gmail.com wrote:
> >> (JFileChooser)
> >>> Does anyone know if there's a reliable alternate file browsing dialog, ...
> "Andrew Thompson" wrote:
> >> java.awt.FileDialog  (I have not used it much and
> >> do not know if it meets your definition of 'reliable'.)
> Aziz wrote:
> > No, I'd have to say it doesn't. Although it *is* native, it does not
> > support all the features of the file chooser (multiple selection is
> > the one I want).
>
> <http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#s...)>
>
>  From your first post it looks like you may have tried that.  Did you also use
> <http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#s...)>
> with it?
>
> I haven't tried these myself; I'm just going by the Javadocs.  From your post
> it sounds like this might apply:
>
> > Some look and feels might not support automatic drag and drop; they will ignore this property. You can work around such look and feels by modifying the component to directly call the exportAsDrag method of a TransferHandler.
>
> at least when you have multi-select enabled, or perhaps this:
>
> > The transferHandler property needs to be set to a non-null value for the drag to do anything.
>
> --
> Lew

Thank you, I had seen this put dismissed it as a DND implementation
thing ("...which must be true to enable automatic drag handling (the
first part of drag and drop) on this component..."). I still dislike
the lack of features it has, such as the different views, and the fact
that the right-click pop-up menu has only three options. The SystemUI
in Windows is lacking, especially.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: JFileChooser features "Aziz" <aziz@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: JFileChooser features "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: JFileChooser features "Aziz" <aziz@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
      Re: JFileChooser features "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
        Re: JFileChooser features "Aziz" <aziz@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
          Re: JFileChooser features "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000

csiph-web