Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2035
| From | "Daniel Kraft" <daniel.kraft@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Problem with loaded i |
| Message-ID | <f783rm$f61$1@newsreader2.utanet.at> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <slrnf9d0d9.6cj.aggedor@earl-grey.cloud9.net> |
| Date | 2011-04-27 15:36 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui >> I'm using JDK 1.5.0_06 on GNU/Linux. If anyone is interested in the >> sources, they can be browsed at >> http://minigolf.svn.sourceforge.net/viewvc/minigolf/trunk/src/ >> The Canvas-component talked about is >> net.sourceforge.minigolf.visualizer.Visualizer > > Based on taking a look at the source > > - the update method draws to an Image object (the variable offscreen) > and draws the image to the Graphics argument of the update method > > - the Image object is created only once, although you change the > size of the image to be drawn the update method draws to the size > of the original image Thank you very much, that solved my very problem... I'm sorry for this stupid mistake -- however, why was the full image painted when hiding/showing the window although the offscreen-image was not resized? Was this simply "by chance" or is there a stronger reason why that happend? Yours, Daniel -- Got two Dear-Daniel-Instant Messages by MSN, associate ICQ with stress -- so please use good, old E-MAIL! --- * 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
Problem with loaded image "Daniel Kraft" <daniel.kraft@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: Problem with loaded i "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: Problem with loaded i "A. Bolmarcich" <a..bolmarcich@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: Problem with loaded i "Daniel Kraft" <daniel.kraft@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: Problem with loaded i "A. Bolmarcich" <a..bolmarcich@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: Problem with loaded i "Daniel Kraft" <daniel.kraft@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
csiph-web