Re: Why is javax.swing.ActionEvent.getActionCommand() suppressed? (and a CapDesk bug)
Kevin Reid <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
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/>