Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #6809
| From | Knute Johnson <september@knutejohnson.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: java.awt.Frame - How to repaint without background update |
| Date | 2011-08-05 08:30 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <j1h2au$h7k$1@dont-email.me> (permalink) |
| References | <j1gl4o$t0j$1@news.onet.pl> |
On 8/5/2011 4:45 AM, MaciekL wrote:
> solved:
>
> Adding additonal update method makes that Background is not displayed
>
> public void update(Graphics g) { paint(g); }
>
> Maciek
>
That's because update() clears the background.
I too am curious why you want to use AWT instead of Swing.
--
Knute Johnson
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Re: java.awt.Frame - How to repaint without background update MaciekL <__nospam__maclab@o2.pl> - 2011-08-05 13:45 +0200
Re: java.awt.Frame - How to repaint without background update Knute Johnson <september@knutejohnson.com> - 2011-08-05 08:30 -0700
Re: java.awt.Frame - How to repaint without background update Ian Shef <invalid@avoiding.spam> - 2011-08-05 19:48 +0000
csiph-web