posted 15 years ago
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)