}
_textbox_text.setTrait("#text", _textboxText);
try {
// Obtain the font object corresponding to the text element
final FontFamily family = FontFamily.forName("BBMillbank");
final Font font =
family.getFont(Font.PLAIN, 15, Ui.UNITS_px);
// Set the X and Y co-ordinates of the cursor rect
_textbox_cursor.setFloatTrait("x",
(Display.getWidth() / 2 - 83 + font
.getAdvance(_textboxText)));