首页 > 解决方案 > macOS 上 javafx 中的模态对话框

问题描述

在 macOS 上运行 java 应用程序时,javafx 中是否可以使用工作表功能NSWindow

Sheet 是当前窗口上的可自定义模式窗格,以某种“mac-ish”方式运行:https ://developer.apple.com/design/human-interface-guidelines/macos/windows-and-views/sheets /

我知道这种行为在其他平台上是不可能的,我正在寻找类似于beginSheet()Swift 的 javafx 中的 macOS 实现: https ://developer.apple.com/documentation/appkit/nswindow/1419653-beginsheet

标签: javamacosjavafxnswindow

解决方案



推荐阅读