From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d35f23bd2fe2deb,start X-Google-Attributes: gid103376,public From: Kendal Van Dyke Subject: Ada-Java quick question Date: 1997/03/06 Message-ID: <331EF1AE.6607@fn3.freenet.tlh.fl.us>#1/1 X-Deja-AN: 224102582 Organization: Florida State University Newsgroups: comp.lang.ada Date: 1997-03-06T00:00:00+00:00 List-Id: I'm working on an applet where I'd like to use a media tracker prevent the applet from starting until all the images have been loaded, but I am running into a slight problem. I don't quite know how to call new_MediaTracker. Here's the code I have: procedure init(obj : access tankwar_obj) is tracker : mediatracker_ptr := new_mediatracker([something]); begin ...some code here..... end init; According to the Ada-Java API [something] has to be of type component_ptr. In regular Java, it's usually called as "new MediaTracker(this)". I know that in most cases in Ada-Java you can use "null" in place of "this" and it will work, but it didn't in this case. So, in this code, what would I use to fill in the [something] part? -- *.........................................* . |/ . . |\ENDAL . . WWW => http://www.cs.fsu.edu/~vandyke . . EMail => vandyke@cs.fsu.edu . . Pager => (904) 297-6658 . . . *.........................................*