gpt4 book ai didi

java - 如何在 javafx 中打开组合框弹出窗口

转载 作者:行者123 更新时间:2023-11-29 07:02:56 25 4
gpt4 key购买 nike

我想在组合框的任何标签(组件)上单击或悬停时显示组合框弹出窗口,但我不知道如何触发组合框弹出面板。

最佳答案

comboBox.show()

Requests that the ComboBox display the popup aspect of the user interface. As mentioned in the ComboBoxBase class javadoc, what is actually shown when this method is called is undefined, but commonly it is some form of popup or dialog window.

关于java - 如何在 javafx 中打开组合框弹出窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23194074/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com