Try calling update().
--Jeff
> "Bern Rewel L. Mutia" wrote:
>
> Hi,
>
> I'm new to Java so please bear with me.
>
> I am resizing the length of the array of String elements in a JList
> inside a JScrollPane, but repaint() does not update my UI.
>
> Help please...
>
> Burn
>
>
--
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
======================================================================
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"
The views expressed herein do not necessarily reflect those of my
employer.
Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]