JAdaptiveMenu

JAdaptiveMenu is an intelligent and adaptive extension for JPopupMenu.
Download

JAdaptiveMenu Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Shareware
  • Price:
  • USD 72.00 | BUY the full version
  • Publisher Name:
  • software4java
  • Publisher web site:
  • http://www.software4java.com/

JAdaptiveMenu Tags


JAdaptiveMenu Description

JAdaptiveMenu is an intelligent and adaptive extension for JPopupMenu. JAdaptiveMenu is an intelligent and adaptive extension for JPopupMenu. It optimizes big popup menus and hides rarely used menu items like in Microsoft Office.JAdaptiveMenu comes as single jar file. Just add this library to your classpath and use the new "JAMPopupMenu" instead of the java default "JPopupMenu".code exampleHow to use JAdaptiveMenu: //if you own a licence, init the api with your order number //(1st argument) and serial (2nd argument) JAdaptiveMenuAPI.initAPI("1234567","XXXXXXXXXXXXX"); JAMPopupMenu popupMenu = new JAMPopupMenu(); JAMMenuItem m1 = new JAMMenuItem("Load File"); //item shall be visible all the time, even it's not used by the user m1.setDefaultHidden(false); JAMMenuItem m2 = new JAMMenuItem("Load Image"); //item shall be hidden on first use of this popupmenu m2.setDefaultHidden(true); JAMMenuItem m3 = new JAMMenuItem("Quit"); //item shall be visible all the time, even it's not used by the user m3.setDefaultHidden(false); popupMenu.add(m1); popupMenu.add(m2); popupMenu.add(m3); //adds expand icon to show the hidden (rarely used) menu items popupMenu.addMenuExpandItem(); Requirements: · Java 1.5 or later


JAdaptiveMenu Related Software