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


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

Re: how to execute the co

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: how to execute the co
Message-ID <1174102432.347861.152930@e65g2000hsc.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1174100610.257143.279670@n76g2000hsh.googlegroups.com>
Date 2011-04-27 15:31 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Mar 17, 2:03 pm, "Daniel Pitts" <googlegrou...@coloraura.com>
wrote:
> On Mar 16, 5:04 pm, "Andrew Thompson" <andrewtho...@gmail.com> wrote:
> > On Mar 17, 7:47 am, "Daniel Pitts" <googlegrou...@coloraura.com>
> > wrote:
...
> > > When you have created a visible window (JFrame, or JApplet), you can
> > > create a class which extends JComponent and overrides paintComponent.
..
> > JApplet (quite inconsistently) has no paintComponent().
> > OTOH - I feel 'paint' should neve be overridden in
> > root level containers.  
...
> If you noticed, my suggestion to Irantisi was to extend JComponent,

Aaah..  now that I read your post more
carefully, I note that not only did you
mention that, but I *quoted* it.

My bad.

> and add that to the JApplet or JFrame. This should work in both
> situations.

Yep.

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 | Find similar | Unroll thread


Thread

how to execute the code o "lrantisi" <lrantisi@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
  Re: how to execute the co "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
    Re: how to execute the co "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
      Re: how to execute the co "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
        Re: how to execute the co "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

csiph-web