Article View: borland.public.jbuilder.java.swing
Article #8764Re: help with repainting
From: Randy
Date: Wed, 19 Jul 2000 00:00
Date: Wed, 19 Jul 2000 00:00
20 lines
1149 bytes
1149 bytes
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:
<8l51qi$2gg3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8l2lqn$8qm6@bornews.borland.com> <3975DEBE.A41D1492@home.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: "Randy" <slyfox65@netzero.net> Subject: Re: help with repainting Date: 2000/07/19 Message-ID: <8l51qi$2gg3@bornews.borland.com> X-Deja-AN: 648344247 References: <8l2lqn$8qm6@bornews.borland.com> <3975DEBE.A41D1492@home.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing