JavaFX应用程序GUI未在Mac上显示

时间:2015-08-04 10:37:41

标签: javafx

我正在尝试在Mac上运行JavaFX应用程序,它的运行没有任何异常或错误,但GUI消失,应用程序继续运行。

它在Windows上运行良好,它在某些Mac上工作,但在某些Mac上遇到了这个问题。

屏幕消失时会显示以下消息:

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

- 我认为图形驱动程序存在一些问题,因为大多数都有Intel HD 4000系列。

0 个答案:

没有答案