๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17801

Re: Panel repainting...

#17801
From: Martin Fuente
Date: Sun, 04 Oct 1998 00:00
21 lines
1242 bytes
If the panel depends on the vector, you must delay the repaint(), because
the repaint execute the paint(), but the vector doesnt update the panel.  So
i think that you must add a delay.

At least this way I solve it.
Good luck.
Arumugam escribi๏ฟฝ en mensaje <3605C349.43B769B7@mss.co.jp>...
>I have a application.
>In that application, I am using threads, for receiving some information
>from the server.
>After getting the information, I am storing that in Vector table and
>then painting the panel.
>Panel not getting refreshed immediately..  But when I click on the
>Panel, it got refreshed.
>Please suggest me what can I do, so that it will refresh the panel as
>soon as I update the Vector Table.
>
>Thanks in advance
>
>Arumugam
>
Technical Details
Message-ID: <6v7dkm$b4r4@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3605C349.43B769B7@mss.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,a80ec108bb9bc292
X-Google-Attributes: gidf74b3,public
From: "Martin Fuente" <tinchete@hotmail.com>
Subject: Re: Panel repainting...
Date: 1998/10/04
Message-ID: <6v7dkm$b4r4@forums.borland.com>
X-Deja-AN: 397563698
References: <3605C349.43B769B7@mss.co.jp>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language