🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7453

custom events

#7453
From: Steve Holt
Date: Wed, 20 Jun 2001 12:09
7 lines
1206 bytes
I have a class which recovers data from a database (in a thread).
I want the class to be able to generate an actionEvent (or something
similar)
to allow classes to listen for certain events (eg data available) much the
smae way as
components do.
Suggestions as to how best to achive this?
Technical Details
Message-ID: <3b30927e$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f3a0d4a587a8e03b,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-20 05:10:17 PST
Reply-To: "Steve Holt" <Steve_Holt@PortaSystems.co.uk>
From: "Steve Holt" <Steve_Holt@PortaSystems.co.uk>
Newsgroups: borland.public.jbuilder.java.language
Subject: custom events
Date: Wed, 20 Jun 2001 13:09:28 +0100
Lines: 9
Organization: PortaSystems Ltd
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 194.217.118.116
Message-ID: <3b30927e$1_1@dnews>
X-Trace: dnews 993038974 194.217.118.116 (20 Jun 2001 05:09:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews