Not a visual project??

110 views
Skip to first unread message

xuc...@gmail.com

unread,
Oct 7, 2016, 4:58:42 PM10/7/16
to CodenameOne Discussions
I just installed Netbeans today and then installed the Codename One plugin. I created a project based on the Business theme. When I click on Add A New GUI Element to make a new GUI form, I get a popup message that says "Notice, this is not a visual project type.".

What does that mean? Why isn't my project visual?? Should it be? Should the Codename One Plugin project be a visual project by default? 

Shai Almog

unread,
Oct 7, 2016, 10:07:49 PM10/7/16
to CodenameOne Discussions
You opened the old GUI builder where a project needs to be created especially for it "visual project" is a somewhat confusing term in that sense as all projects have a UI.

The new GUI builder is documented here: http://www.codenameone.com/blog/using-the-new-gui-builder.html

James Barrett

unread,
Oct 7, 2016, 10:39:37 PM10/7/16
to codenameone...@googlegroups.com

The GUI builder opens when i double click theme.res file.  I have no control over whether the "old" one opens or the "new"  one opens.  Is there another way to open the GUI builder?  Am i showed to make a different res file? How do i use the res file in my java code?

Sent from my HTC One M8.


On Oct 7, 2016 10:07 PM, "Shai Almog" <shai....@gmail.com> wrote:
You opened the old GUI builder where a project needs to be created especially for it "visual project" is a somewhat confusing term in that sense as all projects have a UI.

The new GUI builder is documented here: http://www.codenameone.com/blog/using-the-new-gui-builder.html

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/T82wEzdTANk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/d2b389fb-0d54-4413-b81d-de3847630082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chen Fishbein

unread,
Oct 8, 2016, 1:47:27 AM10/8/16
to CodenameOne Discussions
When you double click on the res file, the Designer gets opened.
The Designer contains your theme, images, localization and may also contain the actual gui, we are deprecating the gui building from the designer.
When you create a regular project(not a Visual Project type from the project wizard see "old gui builder") and then try to add gui elements from the tool, these elements won't be used so we are popping this warning, to use the old gui builder your project needs to be one of the "old gui builder" type

James Barrett

unread,
Oct 8, 2016, 11:21:40 AM10/8/16
to codenameone...@googlegroups.com

Oh,  so when I create a new project i need to create the  GUI builder project?

Sent from my HTC One M8.

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/T82wEzdTANk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.

Shai Almog

unread,
Oct 8, 2016, 10:59:54 PM10/8/16
to CodenameOne Discussions
If you want to use the "old" GUI builder project!

Please see this link: https://www.codenameone.com/blog/using-the-new-gui-builder.html

Notice that it has 2 screenshots and explains the difference between the old and new GUI builder.
Reply all
Reply to author
Forward
0 new messages