Package me.g2000.jclip.misc

Examples of me.g2000.jclip.misc.NotSupportedException


    } catch (IOException e) {
      ErrorHandler.die(ErrorHandler.TRAY_ICON_IO_EXCEPTION);
    }
//    init menus and dialogs
    popup = new PopupMenu();
    about = new AboutDialog();
    options = new OptionMenu();
//    init menu items
    men_about = new MenuItem("About");
    men_exit = new MenuItem("Exit");
    men_options = new MenuItem("Options");
View Full Code Here


      ErrorHandler.die(ErrorHandler.TRAY_ICON_IO_EXCEPTION);
    }
//    init menus and dialogs
    popup = new PopupMenu();
    about = new AboutDialog();
    options = new OptionMenu();
//    init menu items
    men_about = new MenuItem("About");
    men_exit = new MenuItem("Exit");
    men_options = new MenuItem("Options");
    men_history = new ArrayList<MenuItem>();
View Full Code Here

  }

  private void initComponents() {
//    try to load the config file
    try {
      config = new Configuration("res/conf/configuration.cfg");
    } catch (IOException e) {
      ErrorHandler.die(ErrorHandler.CORRUPT_FILES);
    }
//    <---- START SETUP_FRAME
    gbc = new GridBagConstraints();
View Full Code Here

  private SystemTray tray;

  public TrayManager() throws NotSupportedException {
//    check if the current OS supports a system tray
    if (!SystemTray.isSupported()) {
      throw new NotSupportedException("OS does not support system tray.");
    } else {
//      initialize components and add tray icon to system tray
      initComponents();
      addToTray();
    }
View Full Code Here

TOP

Related Classes of me.g2000.jclip.misc.NotSupportedException

Copyright © 2018 www.massapicom. 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.