I have been looking for an answer for my question on the forum and I couldn't find the answer so here is my problem:
My main window is a DocumentWindow with a native title bar. The fullscreen button is activated, so when i press it the kiosk mode is activated. However unlike on windows, the window is not resized automatically to fit the screen when the kiosk mode is activated so I would have to do it myself.
So is there a way to detect that the fullscreen button has been pressed? (since the maximiseButtonPressed listener is only set for non native titlebars) Or should I just do my own fullscreen button that replaces the native titlebar's button?
Thanks in advance!