[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-classpath] [bug #13795] Swing: JScrollPane/JViewPort broken

From: anonymous
Subject: [bug-classpath] [bug #13795] Swing: JScrollPane/JViewPort broken
Date: Thu, 14 Jul 2005 08:50:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217


                 Summary: Swing: JScrollPane/JViewPort broken
                 Project: classpath
            Submitted by: None
            Submitted on: Don 14.07.2005 um 04:50
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None



Classpath CVS 20050714

At the moment, JScrollPane (and/or JViewPort) are completely
broken. Whenever the target component is larger than the
current JScrollPane size, only the top-left part of the
target component is shown.

Scrolling to the bottom and right leaves the bottom and
right parts of the JScrollPane blank. This happens in all
JScrollPanes that I tested. For example, you cannot select
all files from a JFileChooser because scrolling through
the file list does not work.

I attach a screenshot that shows the bug in one of my test
applications: the JTree on the left should actually show
more files, and the image canvas on the right should be
filled completely. Instead, only the top-left parts of the
JTree and the image are painted.

Note that the scrollbar thumb size seems to be calculated
correctly, and the target component offset seems to be
correct, too. (It might even be that the clip-region for
painting the target component is wrong and everyhting else
works, but I did not investigate).


File Attachments:

Date: Don 14.07.2005 um 04:50  Name: screen-jscrollpane-niffler.gif  Size:
189,18KB   By: None
screenshot showing the JScrollPane bug twice


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]