🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

public boolean handleEvent(Event e)

#19393
From: Tom Holman
Date: Tue, 10 Feb 1998 00:00
15 lines
948 bytes

When I use public boolean handleEvent(Event e ) I get a warning that it is
deprecated. I can not find what it is replaced with for sure or how to use
it. Anyone know how the following code should be converted?

public boolean handleEvent(Event e){
             switch ( e.id){
                    case e.WINDOW_DESTROY:
                         dispose();
                         return true;
                    default:
                            return false;
             }
      }
Technical Details
Message-ID: <6bpu73$ea12@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f5e31e76f7d86118,start
X-Google-Attributes: gidf74b3,public
From: "Tom Holman" <holman%maint@mhs.elan.af.mil>
Subject: public boolean handleEvent(Event e)
Date: 1998/02/10
Message-ID: <6bpu73$ea12@forums.borland.com>
X-Deja-AN: 323781392
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Edwards AFB
Newsgroups: borland.public.jbuilder.java.language