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

Frame back ground being erased with default color , What if we don't need erase

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.8
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description



      Name: dbT83986 Date: 03/17/99


      I would not say this is a problem. But major improvement in AWT.

      Peer implementation of window in windows has background being painted with default color. As per my understanding windows
      DK has message called WM_ERASEBKGND which erases with specified back ground color and it will send a paint message for
      the window. Because of this reason entire window gets validated and needs to be repainted. If user can have option to have
      whether to erase back ground or to just to paint over will increase performance.

      We are writing a considerably huge application which has lot of (light weight)windows, when any other window is moved over or
      this frame is resized we see the back ground being erased and repainted.

      I have worked with Win SDK , I do know that by blocking WM_ERASEBKGND and managing properly would increase performance
      of painting. This will also improve performance on JDesktopPane which is very solve in moving JInternalFrame's right now.
      (Review ID: 55679)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rraysunw Richard Ray (Inactive)
              Reporter:
              dblairsunw Dave Blair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: