代号一个GUI生成器不起作用 [英] Codename one gui builder does not work
问题描述
我正在尝试使用代号一种新的GUI设计器工具。
版本-代号为一个GUI生成器3.7.3
Eclipse-使用过的氧气和火星。
Java-尝试过7和8。
I am trying to use code name one new GUI designer tool. Version - Codename one GUI builder 3.7.3 Eclipse - Used Oxygen and Mars both. Java - tried 7 and 8 both.
我的问题是我无法在设计区域中添加任何容器或组件。一旦我添加了一个,它突然消失了。 (根本无法创建任何UI)
我什至不能更改布局,它始终显示分层布局并且不能更改。
My problem is i cannot add any containers or any component to the design area. Once i add one it suddenly disappear. ( Simply cannot create any UI) I cannot change the layout even.Always it shows Layered layout and cannot change.
我创建了一个Java 7和Java 8代码名称项目,但是没有用。
I have created a java 7 as well as java 8 code name projects but nothing works.
我关注了- https://www.codenameone.com/blog/using -the-new-gui-builder.html
根据教程
。图14.主工具栏
的功能在我的编辑器中,我没有看到组件树图标 '。
I followed - https://www.codenameone.com/blog/using-the-new-gui-builder.html According to tutorial Figure 14. The features of the main toolbar In my editor i don't see 'Component tree icon'.
我也无法生成诸如
之类的代码//-请勿在此行下方进行编辑!!!
private void initGuiBuilderComponents(com.codename1.ui.util.Resources resourceObjectInstance){
}
//-不要在这行上进行编辑!!!
}
我想念任何东西吗?
Also i cannot generate codes such as //-- DON'T EDIT BELOW THIS LINE!!! private void initGuiBuilderComponents(com.codename1.ui.util.Resources resourceObjectInstance) { } //-- DON'T EDIT ABOVE THIS LINE!!! } Do i miss anything ?
推荐答案
我们不支持Java 7,因此请确保您的Java JDK是Java 8 JDK,上面运行的一个Eclipse是Java 8+ JDK。
We don't support Java 7 so make sure your JDK is a Java 8 JDK and the one eclipse is running on top is a Java 8+ JDK.
请确保您在软件包下创建了GUI组件,并且没有在事实之后对其进行重构。您还可以在本文。
Make sure you created the GUI component under a package and didn't refactor it after the fact. You can also read about debugging and tracking issues in the designer/gui builder in this article.
这篇关于代号一个GUI生成器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!