Package org.pdfsam.guiclient.business.listeners.mediators

Examples of org.pdfsam.guiclient.business.listeners.mediators.ApplicationExitMediator


    bottomPanel.setLayout(new BoxLayout(bottomPanel, BoxLayout.LINE_AXIS));
    bottomPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    bottomPanel.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
    exitButton.setText("Exit");   
    exitButton.setActionCommand(ApplicationExitMediator.EXIT_COMMAND);
    exitButton.addActionListener(new ApplicationExitMediator());   
    bottomPanel.add(Box.createHorizontalGlue());
    bottomPanel.add(exitButton);

    logPane.setViewportView(TextPaneAppender.getTextPaneInstance());
    logPane.setPreferredSize(new Dimension(350, 65));
View Full Code Here


          setSplashStep(GettextResource.gettext(Configuration.getInstance().getI18nResourceBundle(),"Building menus.."));       

          Environment environment = new Environment(pluginsMap, treePanel);
      SaveEnvironmentAction saveAction = new SaveEnvironmentAction(environment, this);
      LoadEnvironmentAction loadAction = new LoadEnvironmentAction(environment, this);
          exitMediator = new ApplicationExitMediator(new ApplicationCloser(this));
          getRootPane().setJMenuBar(new JMainMenuBar(saveAction, loadAction, exitMediator));


          //buttons bar
          setSplashStep(GettextResource.gettext(Configuration.getInstance().getI18nResourceBundle(),"Building buttons bar.."));
View Full Code Here

TOP

Related Classes of org.pdfsam.guiclient.business.listeners.mediators.ApplicationExitMediator

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.