🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #25879

Re: Problemas con JList

#25879
From: Jos� Antonio P�rez Testa
Date: Mon, 01 Mar 1999 00:00
46 lines
2048 bytes
This is a multi-part message in MIME format.
--------------0E0948E5CC1BFD675CD2DBB9
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Tienes que llamar a esta funcion sobre la JList cuando a�ades los elementos para
que la Vista se entere de que su modelo ha cambiado y se refresque
JList miJList;
----
-.--
miJList.getModel().fireContentsChanged(-,-,-);

Los par�metros te los curras t� �vale?

gcanales wrote:

> �Alguien me podr�a decir como generar el evento del doble click sobre un
> item de una JList, como si se tratase de una List de AWT.???
>
> Otra cosa, rela cionada con el mismo tema. Tengo un applet en el que
> utilizo alguna JList, pero al introducir los items en ella (son
> recuperados de Base de Datos), no se me refresca la pantalla y no
> aparecen, hasta
> que no hago algo sobre ella.
>
> Muchas gracias.

--------------0E0948E5CC1BFD675CD2DBB9
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jos� Antonio P�rez Testa
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Jos� Antonio P�rez Testa
n:              ;Jos� Antonio P�rez Testa
org:            Grupo Polar
email;internet: testa@polar.es
tel;work:       91-515 37 88
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


--------------0E0948E5CC1BFD675CD2DBB9--
Technical Details
Message-ID: <36DAD4D4.41084583@polar.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36DA51D4.AB87AB9C@a01-unix.gsyc.inf.uc3m.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: 1116f3,9537e101e52319c2
X-Google-Attributes: gid1116f3,public
From: "Jos� Antonio P�rez Testa" <testa@polar.es>
Subject: Re: Problemas con JList
Date: 1999/03/01
Message-ID: <36DAD4D4.41084583@polar.es>
X-Deja-AN: 450041968
References: <36DA51D4.AB87AB9C@a01-unix.gsyc.inf.uc3m.es>
To: gcanales <gcanales@a01-unix.gsyc.inf.uc3m.es>
Content-Type: multipart/mixed; boundary="------------0E0948E5CC1BFD675CD2DBB9"
Organization: Grupo Polar
Mime-Version: 1.0
Newsgroups: es.comp.lenguajes.java