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

Java AWT panel cannot display more than 1820 canvas objects

XMLWordPrintable

    • x86
    • windows_xp

      Name: dk106046 Date: 08/12/2004

      SYNOPSIS:
      Java AWT panel cannot display more than 1820 canvas objects.

      OPERATING SYSTEM(S):
      Win32 - Microsoft Windows XP Professional, Version 2002, Service Pack 1.

      FULL JDK VERSION(S): Sun jdks 1.4.2_05, 5.0 Beta2


      A task item consists of taskName, taskDescription, runningState, taskIndex and superTaskID. Each task item is created by a canvas object and added to a vector. The vector is then added to a panel which is then added to a scrollpane. If 1900 task items are added to the panel, it displays only 1820 task items. When we scroll past task 1820, there is only blank space at the end of the scrollpane.

      Exact steps to reproduce:
      1. Compile the java files: javac *.java.
      2. Create a folder by name rsCopyServices and copy the generated .class files inside this folder.
      3. Run the test by running the appletviewer or by loading the testTaskPanel.html file in a browser that supports the Java Runtime Environment (JRE)

      Minimal source code that demonstrates the problem
      We are providing the entire testcase which demonstrates the problem. The testcase is attached herewith.

      ======================================================================

            dav Andrei Dmitriev (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: