Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onShowing and onShown InternalWindowEvent handlers are not working #14

Closed
RaviOnline opened this issue Sep 21, 2019 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@RaviOnline
Copy link

Hi,

The WINDOW_SHOWING and WINDOW_SHOWN event handlers aren't getting called.

I used the following simple code for testing:

window.setOnShowing(e -> System.out.println(e.getEventType()));
window.setOnShown(e -> System.out.println(e.getEventType()));

desktopPane.addInternalWindow(window);

I also attached the following InternalWindowEvent handlers and they all worked fine.

window.setOnMaximizing(e -> System.out.println(e.getEventType()));
window.setOnMaximized(e -> System.out.println(e.getEventType()));

window.setOnRestoring(e -> System.out.println(e.getEventType()));
window.setOnRestored(e -> System.out.println(e.getEventType()));

window.setOnMinimizing(e -> System.out.println(e.getEventType()));
window.setOnMinimized(e -> System.out.println(e.getEventType()));

window.setOnHiding(e -> System.out.println(e.getEventType()));
window.setOnHidden(e -> System.out.println(e.getEventType()));

window.setOnCloseRequest(e -> System.out.println(e.getEventType()));

Please let me know if you need any additional info. I'm using the latest 0.12.0 release.

Regards,
Ravi

@aalmiray aalmiray self-assigned this Sep 27, 2019
@aalmiray aalmiray added the bug Something isn't working label Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants