Article View: borland.public.jbuilder.java.swing
Article #1405Re: ActionMap in JBuilder9
From: Craig Simmons
Date: Fri, 19 Dec 2003 21:44
Date: Fri, 19 Dec 2003 21:44
36 lines
2221 bytes
2221 bytes
see http://java.sun.com/j2se/1.3/docs/api/java/awt/Component.html#hide()
public void hide()Deprecated. As of JDK version 1.1, replaced by
setVisible(boolean).
Craig
"Dalibor KrleοΏ½a" <dkrleza@yahoo.com> wrote in message
news:3fe34a40@newsgroups.borland.com...
: > 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:
<brvrg0$khd$1@sparta.btinternet.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!grey.octanews.net!green.octanews.net!news.octanews.net!cox.net!news-xfer.cox.net!zen.net.uk!btnet-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mailReferences:
<pan.2003.12.12.07.18.45.835877@yahoo.com> <3fe30ff9$1@newsgroups.borland.com> <3fe34a40@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,fd14ebf6ca14ee30 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-19 13:45:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!grey.octanews.net!green.octanews.net!news.octanews.net!cox.net!news-xfer.cox.net!zen.net.uk!btnet-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Craig Simmons" <Cjs1@btinternet.com> Newsgroups: borland.public.jbuilder.java.swing Subject: Re: ActionMap in JBuilder9 Date: Fri, 19 Dec 2003 21:44:33 +0000 (UTC) Organization: BT Openworld Lines: 38 Message-ID: <brvrg0$khd$1@sparta.btinternet.com> References: <pan.2003.12.12.07.18.45.835877@yahoo.com> <3fe30ff9$1@newsgroups.borland.com> <3fe34a40@newsgroups.borland.com> Reply-To: "Craig Simmons" <Cjs1@btinternet.com> NNTP-Posting-Host: dial81-135-14-150.in-addr.btopenworld.com X-Trace: sparta.btinternet.com 1071870273 21037 81.135.14.150 (19 Dec 2003 21:44:33 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 19 Dec 2003 21:44:33 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165