@Override public void initGui() { super.initGui(); if (im.reset()) { im.getCommited(); preedit = ""; } if (this.bookIsUnsigned) { try { this.currPage = this.currPageField.getInt(this); } catch (Exception e) { throw new RuntimeException(e); } current = this.getText(); } }