aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans 6.5 Mobility Flow Designer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans 6.5 Mobility Flow Designer" Watch "Netbeans 6.5 Mobility Flow Designer" New topic
Author

Netbeans 6.5 Mobility Flow Designer

Marcel Wentink
Ranch Hand

Joined: Sep 19, 2008
Posts: 157
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

Joined: Sep 19, 2008
Posts: 157
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

Joined: Sep 19, 2008
Posts: 157
Suddenly not experiencing any problems anymore. I think a latest update fixed it.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Netbeans 6.5 Mobility Flow Designer
 
Similar Threads
Netbeans 5.0 / 5.5 enterprise edition and java class instantiation issue
not enamored by JSF 1.1
JavaFX Using Multiple Stages with Netbeans JavaFX Designer
Problem while Encrypting SOAP body using Metro
Mobile Emulator in Netbeans