Article View: borland.public.jbuilder.java.swing
Article #8769Re: help with repainting
From: Rich Wilkman
Date: Wed, 19 Jul 2000 00:00
Date: Wed, 19 Jul 2000 00:00
30 lines
1500 bytes
1500 bytes
Randy:
Classes with $ in the name are inner classes and you did, indeed create
them (you just don't know it <g>). They are most likely the inner class
adapters for your events.
-Rich
Randy wrote:
>
> I fixed the problem; I have a DeckOfCards$1.class, DeckOfCards$2 and
> DeckOfCards.class; what are these $ class? I didn't create them.
>
> p.s. I tried that; it didnt work
> Paul Furbacher [TeamB] <pnf@home.com> wrote in message
> news:3975DEBE.A41D1492@home.com...
> > Randy,
> >
> > > public void paintit(Card newCard) {
> > > dealt = newCard.toCards(0);
> > > displayCard.setText(dealt.toString());
> > > dealt.repaint();
> > >
> > > }
> >
> > Just guessing, but add something like "dealt.invalidate()"
> > before sending the repaint message.
> >
> >
> > Paul Furbacher (TeamB)
Technical Details
Message-ID:
<39762BC1.5391CF50@formlessvoid.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8l2lqn$8qm6@bornews.borland.com> <3975DEBE.A41D1492@home.com> <8l51qi$2gg3@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,6a8993813838b9b9 X-Google-Attributes: gid111d45,public From: Rich Wilkman <richw@formlessvoid.com> Subject: Re: help with repainting Date: 2000/07/19 Message-ID: <39762BC1.5391CF50@formlessvoid.com> X-Deja-AN: 648391455 Content-Transfer-Encoding: 7bit References: <8l2lqn$8qm6@bornews.borland.com> <3975DEBE.A41D1492@home.com> <8l51qi$2gg3@bornews.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 19 Jul 2000 15:19:32 -0800, 165.227.58.108 MIME-Version: 1.0 Reply-To: richw@formlessvoid.com Newsgroups: borland.public.jbuilder.java.swing