Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2331
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Applets automatically |
| Message-ID | <776c6fca6c494@uwe> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <46d57aa9$0$12132$5a62ac22@per-qv1-newsreader-01.iinet.net.au> |
| Date | 2011-04-27 15:38 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Qu0ll wrote: >I know almost nothing about applets so please excuse the possible lameness >of this question. Applets are not for noobs. You are better off looking to a web start launched JFrame (which is automatically resizable), or the same launch for an applet (though that requires a bit of hackish tweaking, to make it resizable in the applet viewer). >Can someone tell me if it's possible for an applet to adjust its size (i.e. >the amount of the web page it takes up) when the size of the web page itself >changes? Yes, no, maybe. Depends on the browser/VM combo. 1) You might look to JavaScript to check the page size regularly, and then resize the applet accordingly. Obviously that will fail if JS is disabled. 2) Use a combination of HTML and CSS and 'hope for the best'. Here are my best experiments. <http://www.physci.org/test/resize/> >...port my Swing applications to the web (and yes I > know about JNLP which is not what I am looking for). Applets and Swing embedded in web pages. 'Welcome to a world of trouble'. Why does web start *not* provide what these applications need? There are a very few applets that rely of interaction with JS that simply *cannot* be run using web start, but very little else prevents a web start launch, and something coming from being a desktop application is unlikely to rely on use of javascript. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200708/1 --- * 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
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Applets automatically res "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: Applets automatically "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
csiph-web