Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2002
| From | "Oberon" <oberon@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Image on JFrame - pro |
| Message-ID | <1184019209.593095.308720@g4g2000hsf.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <74eef66b323d6@uwe> |
| Date | 2011-04-27 15:36 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
On 9 Lip, 22:05, "Andrew Thompson" <u32984@uwe> wrote:
> >public class AboutFrame extends JFrame{
> ..
> > public void paint(Graphics g){
>
> That should be paintComponent(g) for Swing apps.
Hmm if I change to paintComponent(g) Image is not able
The problem looks (my printscreen): http://www.fotosik.pl/pokaz_obrazek/pelny/b4b6b1bb2ba349af.html
---
* 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 — Next in thread | Find similar | Unroll thread
Re: Image on JFrame - pro "Oberon" <oberon@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000 Re: Image on JFrame - pro "Oberon" <oberon@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
csiph-web