Hi,
I'm working on a JavaFX application and recently I ran into a problem with resizing a stage. I have an undecorated stage (so it does not have a native "window"). 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? Maybe (or rather certainly) someone else encountered a similar problem and knows how to sort it out.
Any help would be greatly appreciated :-)
My OS: Windows 7, Java: 1.7.0_51 x64.
Regards
Pawel