(Item)pageImpl,
midlet);
pform.createGauge(Common.PAGE_POS_ACTUAL, view.getPercPosition());
//#ifdef DTEST
} else if (aCmd == cmdInfo) {
final HelpForm helpForm = new HelpForm(midlet, (Item)pageImpl);
helpForm.append("lastWidth=" + lastWidth + "\n");
helpForm.append("lastHeight=" + lastHeight + "\n");
helpForm.append("labelPageHeight=" + labelPageHeight + "\n");
helpForm.append("mainPageHeight=" + mainPageHeight + "\n");
helpForm.append("prefViewHeight=" + prefViewHeight + "\n");
helpForm.append("viewScrollBar=" + viewScrollBar + "\n");
helpForm.append("initialized=" + initialized + "\n");
helpForm.append("resize=" + resize + "\n");
helpForm.append("paintDone=" + paintDone + "\n");
helpForm.append("RenderedWord.heightFont=" + RenderedWord.heightFont + "\n");
helpForm.append("label=" + label + "\n");
helpForm.append("page=" + (page != null) + "\n");
helpForm.append("text=" + (text != null) + "\n");
helpForm.append("view=" + view.getClass().getName() + "\n");
if (view instanceof HtmlView) {
HtmlView hview = (HtmlView)view;
int hvlen = hview.getRenderedWordsLen();
helpForm.append("hview.getRenderedWordsLen()=" + hvlen + "\n");
} else if (view instanceof View) {
View vview = (View)view;
int vvlen = vview.getScreenSize();
helpForm.append("vview.getScreenSize()=" + vvlen + "\n");
}
helpForm.append("messageFont.getHeight()=" + messageFont.getHeight() + "\n");
display.setCurrent(helpForm);
//#endif
} else if (aCmd == cmdHelp) {
final HelpForm helpForm = new HelpForm(midlet, (Item)pageImpl);
/*Press \1 to go back to the previous screen. */
appendKeyHelp(helpForm, BACK_ACTION, Common.TEXT_B_KEY);
/*Press \1 to go to open the link. */
appendKeyHelp(helpForm, SELECT_ACTION, Common.TEXT_SEL_KEY);
if (!scrollThread.canRun()) {