🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8122

Re: two questions about action

#8122
From: Randy
Date: Fri, 03 Nov 2000 00:00
31 lines
1945 bytes
the test was removed; i was trying to see if it was the method that was
causing the problem.
tf is my behind the scene storage variable.

"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message
news:MPG.146c618a78d3e3ab989cbe@forums.borland.com...
> On Thu, 2 Nov 2000 23:15:30 -0500, Randy wrote:
>
> > are you sure that an actionlistener can call another one?
>
> ActionListener is just an interface that specifies the method
> actionPerformed().  And actionPerformed() is just a method, like any
> other method.  You can certainly call one method from another in
> Java.
>
> I noticed two oddities in your code.  You call target.test(), but
> target is of class Journal_Ledger, and it does not seem to have a
> test() method.
>
> In the JournalLedgerDialog constructor, you create a JTextField (tf),
> and set its text in the ItemListener, but you never add "tf" to the
> dialog.
>
> --
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>     http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <8tv3p7$7i410@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8tqo7u$n2b4@bornews.borland.com> <8tqqci$mv73@bornews.borland.com> <8ts088$5q67@bornews.borland.com> <8ts853$a9q7@bornews.borland.com> <8tsg26$a7315@bornews.borland.com> <8tshve$a6q11@bornews.borland.com> <8tt8sp$kmn2@bornews.borland.com> <8tteb8$kml7@bornews.borland.com> <MPG.146c618a78d3e3ab989cbe@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,24022f34a2b35dbc,start
X-Google-Attributes: gid111d45,public
From: "Randy" <slyfox65@netzero.net>
Subject: Re: two questions about action
Date: 2000/11/03
Message-ID: <8tv3p7$7i410@bornews.borland.com>
X-Deja-AN: 689336773
References: <8tqo7u$n2b4@bornews.borland.com> <8tqqci$mv73@bornews.borland.com> <8ts088$5q67@bornews.borland.com> <8ts853$a9q7@bornews.borland.com> <8tsg26$a7315@bornews.borland.com> <8tshve$a6q11@bornews.borland.com> <8tt8sp$kmn2@bornews.borland.com> <8tteb8$kml7@bornews.borland.com> <MPG.146c618a78d3e3ab989cbe@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing