JavaFX Window System for VRL (Day One)
I am relatively new to JavaFX. After some time of reading the documentation and searching the Web I came to the conclusion that JavaFX does not provide an API for window nodes like Swings JInternalFrame
.
Thus, I am going to develop my own one. If you want to contribute just drop me a line. I’d be more than happy about that! I will mainly use it for VRL. However, this project will be released as open source and should be usable for may types of applications.
What I did so far
First, I tried some of the basic JavaFX samples. Then I tried to implement a draggable node. This is was my first attempt:
After dragging the nodes around:
Download the code from here.
The code is less then a prototype for now and is just for lerning. Still, it might be useful for someone.
What Comes Next
Next things I want to implement are:
- resizing
- child windows inside windows
- scaling support (add scale transform to windows, child windows are scaled down according to parent size)