Article View: borland.public.jbuilder.java.swing
Article #8762Re: help with repainting
From: Paul Furbacher [TeamB]
Date: Wed, 19 Jul 2000 00:00
Date: Wed, 19 Jul 2000 00:00
14 lines
869 bytes
869 bytes
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:
<3975DEBE.A41D1492@home.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8l2lqn$8qm6@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: "Paul Furbacher [TeamB]" <pnf@home.com> Subject: Re: help with repainting Date: 2000/07/19 Message-ID: <3975DEBE.A41D1492@home.com> X-Deja-AN: 648265396 Content-Transfer-Encoding: 7bit References: <8l2lqn$8qm6@bornews.borland.com> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pnf@home.com Newsgroups: borland.public.jbuilder.java.swing