多个 JavaFX TextArea
我正在使用 JavaFX,但在使用多个 TextArea 时遇到问题。我将所有 3 个都设置为可编辑,但我只能单击并编辑第一个。我可以按 SHIFT-TAB 向后转到第三个,然后再转到第二个。之后我就可以点击它们了。我不太确定发生了什么事,任何帮助将不胜感激。谢谢。
I am using JavaFX and I am having a problem with using multiple TextArea's. I set all 3 of them as editable however I can only click in and edit the first one. I can hit SHIFT-TAB to go backwards to the 3rd one then the 2nd one. After that I can click on them all. I'm not too sure what is going on and any help will be appreciated. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法重现您所描述的行为。对于下面的示例程序,我可以单击并编辑 3 个显示的 TextArea 中的任何一个,而无需先按 SHIFT-TAB。我在 Windows7 上使用 JavaFX 版本:2.1.0-beta-b10。
I can't reproduce the behaviour you describe. For the sample program below I can click and edit any of the 3 displayed TextAreas without having to first SHIFT-TAB. I am using JavaFX Version: 2.1.0-beta-b10 on Windows7.