JavaFX application GUI not showing on Mac

I'm trying to start a JavaFX application on Mac, launching it without any exceptions or errors, but the GUI disappears and the application continues to run.

It works fine on Windows, works on some Mac, but has this problem on some Mac.

When the screen disappears, the following messages are displayed:

Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const: conn 0x2f8a7 token 0x5bfffffffffbbe6
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: Backtrace (at 43094):
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  0   CoreGraphics                        0x00007fff8a730d81 CGSBacktraceCreate + 59
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  1   CoreGraphics                        0x00007fff8a7859f4 _ZN16CGSUpdateManager14disable_updateEv + 84
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  2   AppKit                              0x00007fff880bad15 -[NSWindow disableScreenUpdatesUntilFlush] + 127
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  3   AppKit                              0x00007fff880b995a -[NSView(NSInternal) geometryInWindowDidChange] + 185
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  4   AppKit                              0x00007fff880b9581 -[NSView _invalidateFocus] + 437
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  5   AppKit                              0x00007fff8814b5a5 -[NSWindow _oldPlaceWindow:] + 2263
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  6   AppKit                              0x00007fff8814a51d -[NSWindow _setFrameCommon:display:stashSize:] + 2562
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  7   AppKit                              0x00007fff882e2e18 -[NSMoveHelper _stopAnimation] + 517
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  8   AppKit                              0x00007fff882ddec9 -[NSMoveHelper _doAnimation] + 1756
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  9   AppKit                              0x00007fff882ff6d6 -[NSMoveHelper _resizeWindow:toFrame:display:] + 419
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  10  AppKit                              0x00007fff88207dd9 -[NSWindow setFrame:display:animate:] + 1495
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  11  AppKit                              0x00007fff882fe6e3 -[NSWindow zoom:] + 808
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  12  libglass.dylib                      0x0000000126fe0de3 Java_com_sun_glass_ui_mac_MacWindow__1maximize + 499
Aug  4 13:07:14 Jiveshs-MacBook-Pro.local java[9832] <Warning>: void CGSUpdateManager::log() const:  13  ???                                 0x0000000110f7e954 0x0 + 4579649876

      

- I think there are some problems with the graphics driver as most of them have Intel HD 4000 series.

+3


source to share





All Articles