Article View: borland.public.jbuilder.java.swing
Article #1403Re: ActionMap in JBuilder9
From: Dalibor Krle�a
Date: Fri, 19 Dec 2003 18:58
Date: Fri, 19 Dec 2003 18:58
25 lines
1636 bytes
1636 bytes
> Shouldn't this method be called ExitAction?
>
> --
> Gillmer J. Derge (TeamB)
Yes, I apologize myself. I must have made this mistake while copying my
code.
It should be:
class ExitAction extends AbstractAction {
JFrame holder;
public ExitAction(String name,Icon icon,JFrame holder) {
super(name,icon);
this.holder=holder;
}
public void actionPerformed(ActionEvent e) {
holder.hide();
}
}
But even so, my problem is still present. With the mistake I have made
before I couldn't even compile my example. I repeat, example is working.
Dalibor.
Technical Details
Message-ID:
<3fe34a40@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<pan.2003.12.12.07.18.45.835877@yahoo.com> <3fe30ff9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fd14ebf6ca14ee30 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-19 11:10:08 PST From: "Dalibor Krle�a" <dkrleza@yahoo.com> Newsgroups: borland.public.jbuilder.java.swing References: <pan.2003.12.12.07.18.45.835877@yahoo.com> <3fe30ff9$1@newsgroups.borland.com> Subject: Re: ActionMap in JBuilder9 Date: Fri, 19 Dec 2003 19:58:20 +0100 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 NNTP-Posting-Host: 193.198.129.143 Message-ID: <3fe34a40@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071860288 193.198.129.143 (19 Dec 2003 10:58:08 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail