如何在BlackBerry中的数据库中将值设置为ObjectChoiceField?
答案 0 :(得分:1)
String[] days={"Mon","Tue","Wed","Thu","Fri","Sat","Sun"};
ObjectChoicdField ocf = new ObjectChoiceField("Days.",days,days.length-1) {
public void paint(Graphics g) {
g.setColor(Color.WHITE);
super.paint(g);
}
};
ocf.setChangeListener(this);
add(ocf);