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

[Stage] Undecorated stage flickers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8u20
    • 8u20
    • javafx
    • None
    • Windows 7, Java: 1.7.0_51 x64.

      Hi,

      Some time ago I created a new thread on a JavaFX forum but I haven't got any answer to my question (https://community.oracle.com/thread/3521289).

       
      I'm working on a JavaFX application and recently I ran into a problem with resizing a stage. I have an undecorated stage. I manage to implement the most important facilities such as MIN, MAX, CLOSE, dragging a window etc. I also have an implementation for resizing the stage. Unfortunately when I'm resizing the window it starts flickering. It's a really vexing problem, especially when the window is quite big. I implemented window resizing by adding a set of mouse handlers (OnMouseMoved, OnMousePressed, OnMouseDragged etc.) to the stage and working out a new size/location for the stage.
       
      Does anyone know how I could make my window resizable and also don't get a flickering effect? Is it a bug?
       

       

            vadim Vadim Pakhnushev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: