Java doc + add event