Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2648 > unrolled thread
| Started by | "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:40 +0000 |
| Last post | 2011-04-27 15:40 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.java.gui
Applets and custom class "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: Applets and custom cl "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: Applets and custom cl "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
| From | "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:40 +0000 |
| Subject | Applets and custom class |
| Message-ID | <4714322f$0$11556$5a62ac22@per-qv1-newsreader-01.iinet.net.au> |
To: comp.lang.java.gui Is there any reason to use a custom class loader with an applet? I have an applet in which I only want to load a particular class if the corresponding content type is required to be rendered by that applet so that the initial applet load is as quick as possible. I have considered using a custom class loader whereby the applet would start a new thread in the init() method which invokes this loader to download a XYZContentRenderer class in the background for example. But then I thought that I still need to cast the resulting class to XYZContentRenderer so that reference to XYZContentRenderer in the casting would already cause this class to be loaded when the applet is loaded. So therefore I see no benefit from using a custom class loader with an applet. Is this correct? Is there any other way I can achieve what I am trying to do here? -- And loving it, -Q _________________________________________________ Qu0llSixFour@gmail.com (Replace the "SixFour" with numbers to email me) --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:40 +0000 |
| Subject | Re: Applets and custom cl |
| Message-ID | <79c299ff418f5@uwe> |
| In reply to | #2648 |
To: comp.lang.java.gui Qu0ll wrote: >... I have an >applet in which I only want to load a particular class if the corresponding >content type is required to be rendered by that applet so that the initial >applet load is as quick as possible. .. >...Is there any other way I can achieve what I am >trying to do here? Web start, lazy downloads. <http://www.physci.org/jws/#ds> -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via http://www.javakb.com --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:40 +0000 |
| Subject | Re: Applets and custom cl |
| Message-ID | <47146067$0$11582$5a62ac22@per-qv1-newsreader-01.iinet.net.au> |
| In reply to | #2649 |
To: comp.lang.java.gui "Andrew Thompson" <u32984@uwe> wrote in message news:79c299ff418f5@uwe... > Qu0ll wrote: >>... I have an >>applet in which I only want to load a particular class if the >>corresponding >>content type is required to be rendered by that applet so that the initial >>applet load is as quick as possible. > .. >>...Is there any other way I can achieve what I am >>trying to do here? > > Web start, lazy downloads. > <http://www.physci.org/jws/#ds> JWS is not an option - I need something that runs *in* a browser. -- And loving it, -Q _________________________________________________ Qu0llSixFour@gmail.com (Replace the "SixFour" with numbers to email me) --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web