Re: Why is javax.swing.ActionEvent.getActionCommand() suppressed? (and a CapDesk bug)

"Dean Tribble" <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
Thanks for filing this. It's a nasty hole. You also observed that it
will normally only return a file, but if you navigate to a directory
and *then* cancel, it will provide access to the entire directory.

On Sun, Mar 9, 2008 at 6:59 AM, Kevin Reid <[email protected]> wrote:
> On Mar 7, 2008, at 0:03, Kevin Reid wrote:
>
>  > javax.swing.ActionEvent.getActionCommand() appears to be necessary
>  > to tell which of the Cancel or Open/Save buttons the user pressed
>  > in a JFileChooser.
>  ...
>
> >
>  > (In particular, note that the caplet powerbox --
>  >    src/esrc/com/skyhunter/e/security/
>  > powerboxControllerMakerAuthor.emaker
>  > -- fails to make the distinction, which is a dangerous bug: the
>  > selected file, if any, will be granted to the caplet even though
>  > the user intended to cancel.)
>
>  This is now E-on-Java bug
>  <https://sourceforge.net/tracker/index.php?
>  func=detail&aid=1910475&group_id=75274&atid=551529>.
>
>
>
>  --
>  Kevin Reid                            <http://homepage.mac.com/kpreid/>
>
>
>  _______________________________________________
>  e-lang mailing list
>  [email protected]
>  http://www.eros-os.org/mailman/listinfo/e-lang
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.