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

apparent problem with JInternalFrame

XMLWordPrintable

    • 2d
    • 009
    • x86
    • generic

        this problem is related to printing ImageIcon within the Container.
        problem is narrowed down to drawing image in JInternalFrame
        Test case includes three java files and two
        gif files. They are attached to the bug
        And also please find the attached result.gif to see the exception.

        Basically, there are two places in the PrintTest.java causing the problem.
        If you comment out
        those two lines, everything works fine. The two lines are :

        frame.setFrameIcon(new ImageIcon("logo.gif"));
        button.setIcon(new ImageIcon("print.gif"));

        abhijit.saha@Eng 2001-07-02

        updating the bugtraq for bugs integrated in appropriate version of jdk.

              asultano Alex Sultanov
              msusko Mark Susko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: