private void addComment() { Update update = new Update(); update.setValue(Update.MESSAGE, addCommentField.getText().toString()); update.setValue(Update.ACTION_CODE, "tag_comment"); // $NON-NLS-1$ update.setValue(Update.USER_ID, 0L); update.setValue(Update.TAG, tagData.getId()); update.setValue(Update.CREATION_DATE, DateUtilities.now()); Flags.checkAndClear(Flags.SUPPRESS_SYNC); updateDao.createNew(update); addCommentField.setText(""); // $NON-NLS-1$ refreshUpdatesList(); }