horizontalTextPosition = JButton.LEFT;
horizontalTextPosition = JButton.TRAILING;
  protected void init(String text, Icon icon)  {    super.init(text, icon);    setModel(new DefaultButtonModel());    // Initializes properties for this menu item, that are different    // from Abstract button properties.     /* NOTE: According to java specifications paint_border should be set to false,      since menu item should not have a border. However running few java programs      it seems that menu items and menues can have a border. Commenting      out statement below for now. */    //borderPainted = false;    focusPainted = false;    horizontalAlignment = JButton.LEFT;    horizontalTextPosition = JButton.LEFT;  }