Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28060
| From | Richard Maher <maher_rjSPAMLESS@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Applet instances |
| Date | 2014-04-13 21:33 +0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <lie3ms$5t3$1@speranza.aioe.org> (permalink) |
| References | <ah4kk9lbgvhjdm2m2o494bt0tg15faofno@4ax.com> |
On 4/13/2014 12:29 PM, Roedy Green wrote: > If you have multiple instances of an Applet on page, how can they give > error messages to tell you which one is having a problem. I have > added <parameter name="instance" value="10"> with unique values to > each instance. > > Is there an easier way? > I thought there was but looking at my code (which I hope to finish over easter) I just use static variables and an array of my <windowSlot> class. If there's a null entry use that else .add() it on the ArrayList etc. I'll check again next w/e 'cos iirc the Applet thread gets a unique index for each instance so I'm guessing there's some intrinsic attribute somewhere.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Applet instances Roedy Green <see_website@mindprod.com.invalid> - 2014-04-12 21:29 -0700
Re: Applet instances Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2014-04-13 21:33 +0800
Re: Applet instances Roedy Green <see_website@mindprod.com.invalid> - 2014-04-13 17:24 -0700
csiph-web