I have a title bar and just below that i have a label field,i am facing a issue like as and when i scroll down the lable field "timezoneTitle " is not visible.Its visible only when i scroll up.I want to keep it fixed even if the user scrolss up and down,how to handle this?
LabelField title= new LabelField("welcome", LabelField.FIELD_RIGHT);
hfm.add(title);
// title for timezone
LabelField timezoneTitle = new LabelField("", LabelField.ELLIPSIS
| LabelField.USE_ALL_WIDTH | LabelField.FIELD_HCENTER) {
public void paint(Graphics graphics) {
graphics.setColor(Color.WHITE);
graphics.setBackgroundColor(Color.BLUE);
graphics.clear();
super.paint(graphics);
}
};
setTitle(vm);
add(timezoneTitle );