protected Button createOpenButton(){
  Button ob=new Button();
  ob.setUIID("MenuButton");
  UIManager uim=parent.getUIManager();
  Image i=(Image)uim.getThemeImageConstant("sideMenuImage");
  if (i != null) {
    ob.setIcon(i);
  }
 else {
    float size=4.5f;
    try {
      size=Float.parseFloat(uim.getThemeConstant("menuImageSize","4.5"));
    }
 catch (    Throwable t) {
      t.printStackTrace();
    }
    FontImage.setMaterialIcon(ob,FontImage.MATERIAL_MENU,size);
  }
  Image p=(Image)uim.getThemeImageConstant("sideMenuPressImage");
  if (p != null) {
    ob.setPressedIcon(p);
  }
  return ob;
}

protected Button createOpenButton ( ) { Button ob = new Button ( ) ; ob . setUIID ( "MenuButton" ) ; UIManager uim = parent . getUIManager ( ) ; Image i = ( Image ) uim . getThemeImageConstant ( "sideMenuImage" ) ; if ( i != null ) { ob . setIcon ( i ) ; } else { float size = 4.5f ; try { size = Float . parseFloat ( uim . getThemeConstant ( "menuImageSize" , "4.5" ) ) ; } catch ( Throwable t ) { t . printStackTrace ( ) ; } FontImage . setMaterialIcon ( ob , FontImage . MATERIAL_MENU , size ) ; } Image p = ( Image ) uim . getThemeImageConstant ( "sideMenuPressImage" ) ; if ( p != null ) { ob . setPressedIcon ( p ) ; } return ob ; }
creates the side menu open button .
