BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-12-2009, 05: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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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