🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11369

JB3 - Painting Problems

#11369
From: Josh Prokop
Date: Thu, 03 Jun 1999 00:00
22 lines
1335 bytes
I upgraded from JB2 to JB3. Migrated a couple of my programs and now
they do not repaint properly. They worked fine in JB2.

Both programs have a list of strings for the user click. When the
selection becomes highlighted it over writes the cursor until I move
it, and then it leaves a box where the cursor was. 

One program also has a popup window of string items. When the user
clicks on a item the item gets passed to a list and the popup
disappears. The problem is that after the popup goes away the program
repaints the section of the popup where the cursor was when the user
clicked on the item, leaving garbage on the screen.

Both programs use JList in a JScrollPane and one is using JPopupMenu.

I'm running under Win95.

Any ideas on how to fix this?

Thanks

Josh
Technical Details
Message-ID: <3756A631.C226A89C@worldnet.att.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,74a3edca9f8b4bf3,start
X-Google-Attributes: gid111d45,public
From: Josh Prokop <joshprokop@worldnet.att.net>
Subject: JB3 - Painting Problems
Date: 1999/06/03
Message-ID: <3756A631.C226A89C@worldnet.att.net>
X-Deja-AN: 485303577
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Reply-To: joshprokop@worldnet.att.net
Newsgroups: borland.public.jbuilder.java.swing