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

JDesktopPane/JPanel and printing - flickering problem

XMLWordPrintable

      Customer problem description:

      I have an application that uses JDesktopPane to dislay JInternalFrame.
      Everything works fine till recently when I tried to print from the app. It will
      print successfuly, but right after printing, the app starts to malfunction. The
      problem is that after printing, when I move the mouse to the JButtons, at the
      point of entering the Jbutton, there will be undesireable "roll-over" effect.
      (flickering).

      To pin-point the problem, I created two small applications. One uses
      JDesktopPane and the other use regular JPanel. The problem is seen in both
      cases.

      The first application tries to print from a simple panel.
      <<GSFPrintableEditorPane.java>> <<printApp.java>> <<printFrame.java>>

      The second application tries to print from a desktop with internal frame.
       <<GSFPrintableEditorPane.java>> <<layeredPrintApp.java>>
      <<mainFrame.java>> <<mydesktop.java>>

      Once the printing is completed in the second application, if you move mouse
      around, the buttons will flash, also, when you type in the textfields, the
      textfields flash too.

      The problem is seen with JDK 1.3 on both Solaris and Windows NT platforms.

      Please find attached the two small apps which will easily show this
      problem.

            Unassigned Unassigned
            cprasadsunw Ck Prasad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: