Fix problem with JAVA apps and drop down menus