Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6264806

REGRESSION:Win L&F: Repainting slowdown in 5.0 JTabbedPane

XMLWordPrintable

      J2SE Version (please include all output from java -version flag):
       5.0, 5.0u1, 5.0u2

      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
        No, works fine with 1.4.2

      Operating System Configuration Information (be specific):
        WinXP and XP look and fell

      Bug Description:

         Discovered a performance decrease in JDK 1.5. The problem happens when the
         look and feel of Swing is Windows, and the operating system is Windows XP and
         the look and feel of Windows is XP (as opposed to Classic).

         The application has a tabbed pane and it takes a lot slower to repaint with
         JDK 1.5.0_02 than with JDK 1.4.2_08. JDK 1.5.0_01 and JDK 1.5.0 have the same
         problem. Attached is an export file from OptimizeIt showing where the slowdown
         is (jdk1.5slow.html). Also attach 3 snapshots saved with Borland OptimizeIt
         Suite 6.0.
       
      Steps to Reproduce (be specific):

         To use Tomsawyer's main demo. Just log into the www.tomsawyer.com website.
         use javasoft account, check password on comment field.
         Then go to

           http://www.tomsawyer.com/temp/tsvj.700.jnlp
       
          To run the demo.
          Run it with JDK 1.4 and JDK 1.5 and compare the performance of the following
          operation:
       
          1) In the main menu, go to Tools | Create Nodes.
          2) Quickly click on the white canvas multiple times in different
             places and you'll see yellow rectangles appear in those places. The
             repainting rate and general performance is much slower in JDK 1.5

      ###@###.### 2005-05-03 18:39:02 GMT

            svioletsunw Scott Violet (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: