有时JavaFX中的Scene Builder无法打开 [英] Sometimes Scene Builder in JavaFX doesn't open
问题描述
当我正在努力完成我需要完成的事情时,真的变得烦人和烦人,然后我需要对GUI进行一些更改,所以我打开Scene Builder并且它没有打开。
It's really getting annoying and tiresome when I'm working really hard on something I need to complete and then I need to make a few changes to the GUI so I open Scene Builder and it doesn't open up.
我试过
- 关闭Eclipse并打开它。
- 杀死场景构建器进程并打开它。
I've tried - Closing Eclipse and opening it. - Killing the scene builder process and opening it.
什么有用
- 注销并登录然后再登录打开日食&场景构建器。
What works - Logging off and logging on and then opening eclipse & the scene builder.
这开始让我对JavaFX失去兴趣。虽然我必须在Swing上使用它。
This is starting to make me lose taste in JavaFX. Though I have to use this over Swing.
此外,当我打开Scene Builder(从我的桌面)时,它打开就好了,不过当我导航到我的Main时。 FXML(在我的项目中)。无法打开Scene Builder。当我打开它时它什么都不做,它最小化。
Also, when I open Scene Builder (from my desktop) it opens up just fine, though when I navigate to my Main.FXML (inside my project). Scene Builder can't be opened. It just does nothing when I open it, and it minimizes.
推荐答案
尽管前一段时间已经问过这个问题,但我想要为这个问题贡献我的解决方案,因为它与其他解决方案不同,另外非常简单。
Even though this question has been asked some time ago, I want to contribute my solution to this problem because it differs from the other solutions and in addition is very simple.
这个特殊问题发生在我身上就在几分钟之前,我所要解决的是最大化实际的Scenebuilder窗口!
This particular problem happened to me just a few mins ago and all I took to solve was maximizing the actual Scenebuilder window!
- 打开 Windows Taskmanager
- 切换到应用程序选项卡
- 右键单击SceneBuilder(名称为:yourFileName.fxml)
- 选择'最大化'
- Open the Windows Taskmanager
- Switch to the applications tab
- Right click the SceneBuilder (named: yourFileName.fxml)
- Select 'Maximize'
上述说明适用于Windows操作系统,在其他操作系统上相应的应用程序管理程序应该做同样的事情。
Description above works for Windows OS, on other OS the corresponding application managing program should do the same.
这对我来说非常完美。不需要复制和/或覆盖。
That worked for me just perfect. No copying and/or overwriting needed.
这篇关于有时JavaFX中的Scene Builder无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!