🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: callbacks in java?

#20054
From: Jeff
Date: Fri, 07 Nov 1997 00:00
15 lines
804 bytes


PS Custom Computer Applications, Inc. wrote:

> Hi,
>  I'm pretty new to java and I was wondering if it is possible to pass
> a java function to a windows API call.  A callback.
>
> Like doing a Windows message loop implemented entirely in java.
> Is this possible?  If so, are there any examples?
>
> Thanks for any help.

  Interfaces are the only way to implement callbacks in java.
Technical Details
Message-ID: <34635DC0.826F7438@kla.com.nospam>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <346225a5.16450664@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8a9005f7f390ab3
X-Google-Attributes: gidf74b3,public
From: Jeff <jgoble@kla.com.nospam>
Subject: Re: callbacks in java?
Date: 1997/11/07
Message-ID: <34635DC0.826F7438@kla.com.nospam>
X-Deja-AN: 287714401
References: <346225a5.16450664@forums.borland.com>
Organization: None
Newsgroups: borland.public.jbuilder.java.language