Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans 6.5 Mobility Flow Designer

 
Marcel Wentink
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have experience with Netbeans 6.5 Mobility Flow Designer?

I am trying to use it at this moment. The problems I am encountering are:

If I add for example a TableItem my generated application does not compile anymore. I would expect that if I would add something with the Designer, at least the generated application should stay working, or at least compiling.

If I look at the error it's in grayed source text. Grayed means, generated and read only. Hence I cannot change it. But I can see no real hint on what I should do in the Designer to correct it.

If I delete the Item I have just added, it still does not build. That is the most frustrating! I make copies every time I try to add something. If it does not work, I delete the present project and use a back up, copy that to the old present project name. It gives for example:

Error preverifying class org.netbeans.microedition.lcdui.TableItem java/lang/NoClassDefFoundError: javax/microedition/lcdui/CustomItem.

But I have just deleted that Table!

Is may-be version 6.1 less challanging?




 
Marcel Wentink
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you could help me, in the Flow Designer I have a completely empty form. I add a Table Item, I define a Table Model, and it stops compiling with the message below and I have no idea what to do. I am presently trying version 6.1 but it is not getting better. Strange thing is, if I do a completely empty project with one form, it then suddenly does work.

Created dir: C:\Projects\AStick\AStick\build\compiled
Expanding: C:\Program Files\NetBeans 6.1\mobility8\modules\ext\netbeans_midp_components_basic.jar into C:\Projects\AStick\AStick\build\compiled
do-compile:
Compiling 1 source file to C:\Projects\AStick\AStick\build\compiled
C:\Projects\AStick\AStick\src\Start\Start.java:268: cannot access javax.microedition.lcdui.CustomItem
class file for javax.microedition.lcdui.CustomItem not found
formSearchItem = new Form("Search Item", new Item[] { getTableItem() });//GEN-BEGIN:|30-getter|1|30-postInit
C:\Projects\AStick\AStick\src\Start\Start.java:283: operator == cannot be applied to org.netbeans.microedition.lcdui.TableItem,<nulltype>
if (tableItem == null) {//GEN-END:|35-getter|0|35-preInit
2 errors
C:\Projects\AStick\AStick\nbproject\build-impl.xml:354: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)

 
Marcel Wentink
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suddenly not experiencing any problems anymore. I think a latest update fixed it.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic