java - 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
解决方案
推荐阅读
- python - 屏幕到交错等距网格算法
- linux - Adacore GNATCOLL Postgres 库未在 CentOS 8 上安装
- python - 使用 Monte Carlo 进行投资组合优化,但必须满足约束条件
- go - 匿名函数中的这个 go-routine 究竟是如何工作的?
- docker - 在 docker 中使用 nginx 时出现 403 禁止错误
- ruby-on-rails - Rails 6 中的日期时间比较
- python - 使用 F 表达式保存两次
- autoconf - 未找到 programname.c 的规则
- javascript - HTML5 Canvas captureStream - 高分辨率图像的问题
- java - java中将Json字符串转换为hashmap的Hashmap