[e-lang] Why is javax.swing.ActionEvent.getActionCommand() suppressed? (and a CapDesk bug)

Dean Tribble tribble at e-dean.com
Sun Mar 9 13:56:09 EDT 2008


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 <kpreid at mac.com> 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
>  e-lang at mail.eros-os.org
>  http://www.eros-os.org/mailman/listinfo/e-lang
>


More information about the e-lang mailing list