J2ME Selectable Table in NetBeans
// ONLY WORKS FOR SELECTING ENTIRE ROWS!!! // This is a h@ck. Use at your own risk. -Tres import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Display; import org.netbeans.microedition.lcdui.TableItem; import org.netbeans.microedition.lcdui.TableModel; import org.netbeans.microedition.lcdui.laf.ColorSchema; /** * * @author A. Tres Finocchiaro */ public class SkidletTableItem extends TableItem { protected double rowBias = -1; protected double rowCount = -1; public SkidletTableItem(Display display, String title) { super(display, title); } public SkidletTableItem(Display display, String title, TableModel model) { super(display, title, model); } public SkidletTableItem(Display display, String title, TableModel model, ColorSchema colorSchema) { super(display, title, model, colorSchema); } public void setModel(TableModel model) throws IllegalArgumentException { rowBias = -1; rowCount = -1; super.setModel(model); } public void tableModelC