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

A test work for applet mode but doesn't work for application mode.

XMLWordPrintable

    • swing1.0fcs
    • sparc
    • solaris_2.5
    • Verified

      I have a test app which can be run as both application and applet. The application mode doesn't work in this candidate build. It worked fine with swing-0.7. With 2/6's swing-1.0 build, this test shows a serious painting problem on all 3 platforms(NT, Windows95, Solaris). The swing components do not seem to get focus unless you iconify the app then de-iconify it. However it works fine when it runs as an applet.

      However, if you remove "frame.pack()" statement or don't construct JTable, it will work. The attached is a smaller test case which reproduces this bug.

      To run it as an application : java Zippy
      To run it as an applet : appletviewer index.html

            tballsunw Tom Ball (Inactive)
            pchusunw Patience Chu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: