当我从菜单中选择一个项目时,菜单选择将关闭。这是我的fxml代码:
<SplitMenuButton id="menu" layoutX="35.0" layoutY="175.0" mnemonicParsing="false" text="Privacidade ">
<items>
<CheckMenuItem text="IP" />
<CheckMenuItem mnemonicParsing="false" text="Nome do usuário" />
<CheckMenuItem mnemonicParsing="false" text="Nome do Computador " />
</items>
</SplitMenuButton>
我想要做的就是让用户在不关闭菜单的情况下选择多个项目。