edit java tips