제목 표시 줄이 있는데 그 아래에 레이블 필드가 있습니다. 문제는 lable 필드 아래로 스크롤 할 때와 같습니다. "timezoneTitle"이 보이지 않습니다. 내가 스크롤 할 때. 나는 사용자가 위아래로 스크롤을해도이 문제를 어떻게 처리 할까?제목 및 라벨 필드 바에 문제가 발생했습니다
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);
settitle을 timezoneTitle로 사용 – Signare
setTittle을 두 번 사용할 수 없습니다. 이미 하나의 제목 표시 줄이 있습니다. –