add java mode to drop down