Package net.sourceforge.squirrel_sql.client.gui.mainframe

Examples of net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame.addToMenu()


  public synchronized void addToMenu(int menuId, JMenu menu)
  {
    final MainFrame mf = getMainFrame();
    if (mf != null)
    {
      mf.addToMenu(menuId, menu);
    }
    else
    {
      throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding"));
    }
View Full Code Here


  public synchronized void addToMenu(int menuId, Action action)
  {
    final MainFrame mf = getMainFrame();
    if (mf != null)
    {
      mf.addToMenu(menuId, action);
    }
    else
    {
      throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding"));
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.