JavaMe连载(5)-绘制文本框TextEdit (三)

2014-11-24 07:56:21 · 作者: · 浏览: 5
, textEdit_name_y, cursorBlinkOn1);
textEdit_passwd.drawTextBox(this, graphics, passwd, textEdit_passwd_x, textEdit_passwd_y, cursorBlinkOn2);
textEdit_passwd.drawTextBox(this, graphics, passwd_re, textEdit_passwd_re_x, textEdit_passwd_re_y, cursorBlinkOn3);
textEdit_name.flushGraphics();
}

实现的效果如图1所示:

\

图1 编辑框效果

摘自 tandesir的专栏