BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-12-2009, 04:10 AM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8100
PIN: N/A
Carrier: T mobile
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default regarding to command button

Please Login to Remove!

hi
actually i port j2me application for blackberry devices at presnt i have blackberry 8820,

this is my code

public MyCanvas(KpiTable table, SimpleTableModel model, int tablerows,
int tablecolumn, String drillValue) throws IllegalArgumentException {

this.drillValue = drillValue;
this.table = table;
this.model = model;
this.tableRows = tablerows;
this.tableCols = tablecolumn;
title = kpiListScreen.kpiName;
if (model != null) {
setModel(model);
} else {
recomputeModelValues();
}
if (drillValue.equals("true")) {
this.addCommand(okCommand);
}
this.addCommand(backCommand);
this.setCommandListener(this);

}



here i use two button ok and back i able to use that button in other devices button in blackberry i am not able to show these button so mai i know what's a problem.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.