Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1130

Re: how to make graphics

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: how to make graphics
Message-ID <1173139635.365891.310300@n33g2000cwc.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1173055773.848997.239880@c51g2000cwc.googlegroups.com>
Date 2011-04-27 15:31 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Mar 5, 10:49 am, "Wenj...@gmail.com" <Wenj...@gmail.com> wrote:
> > All painting needs to be done in the paint().
...
> This is apparent as every one knows.

Radical claim..

>...But this doesn't solve my
> problem. Think when you go to another page.

You will not gain what you want from within
browser pages short of storing information in
cookies (not every user allows cookies) or
a signed and trusted applet that stores the
position to disk when stop()/destroy() is called.

But, the problem with the second, ..

> The system will callApplet.stop() and destory() to destroy..

..is that browsers have been known to simply
not bother calling the latter methods, so a
developer cannot *rely* on them.

You are better off looking to web start to launch
the applet(1), and using the JNLP PersistenceService(2)
to store the relevant information between runs.

1) <http://www.physci.org/jws/#jtest>
2) <http://www.physci.org/jws/#ps>

Andrew T.

---
 * 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: how to make graphics Wenj.Ma@gmail.com.remove-dii-this - 2011-04-27 15:31 +0000
  Re: how to make graphics "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
    Re: how to make graphics Wenj.Ma@gmail.com.remove-dii-this - 2011-04-27 15:31 +0000
  Re: how to make graphics "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
    Re: how to make graphics Wenj.Ma@gmail.com.remove-dii-this - 2011-04-27 15:31 +0000

csiph-web