public void changePage(int page, String sessionID, MsgRecordPanel panel) throws Exception { int offset = (page - 1) * Constants.SHOW_MESSAGE_PER_PAGE; List<ChatRecord> records = (List<ChatRecord>) Vovo.exeS( "dataStore", "getChatRecord", sessionID, Constants.SHOW_MESSAGE_PER_PAGE, offset); panel.changeData(records); }