I have Raspbian installed on my Pi 3. I am trying to develop a JavaFX application which needs to send and receive data over serial interface so I use PI4J. Now i have a few problems when running this application on my Pi.
- The program takes a very long (abnormal long in my oppinion) time to open/execute.
- My GUI is always on fullscreen. If the frame doesn't have the size of my screen, the rest is filled with black bars. Moreover, there is no minimize, maximize or close button on the right top corner like it is when running a swing application on the Pi.
So my question is:
- Should I change my operating system / Will it work better on other operating systems?
- Is it possible to run my JavaFX application without fullscreen and with the normal minimize, maximize and close buttons on the right top corner (like I can with swing applications)? It is really disruptive to run a application without the ability to check the console for any errors.
I have already added a key-combination for exiting my application but sometimes (if there is an error in my program) there is just a black bar filling the screen without the ability to exit.