Package com.mucommander.ui.dialog

Examples of com.mucommander.ui.dialog.DialogOwner


        // Port field, initialized to last port (default is 21)
        portSpinner = createPortSpinner(lastPort);
        addRow(Translator.get("server_connect_dialog.port"), portSpinner, 15);

        // Encoding combo box
        encodingSelectBox = new EncodingSelectBox(new DialogOwner(mainFrame), lastEncoding);
        encodingSelectBox.addEncodingListener(this);
        addRow(Translator.get("encoding"), encodingSelectBox, 15);

        // Connection retries when server busy
        nbRetriesSpinner = createIntSpinner(FTPFile.DEFAULT_NB_CONNECTION_RETRIES, 0, Integer.MAX_VALUE, 1);
View Full Code Here


        shellEncodingautoDetectCheckbox.setSelected(autoDetect);
        shellEncodingautoDetectCheckbox.addItemListener(this);

        panel.add(shellEncodingautoDetectCheckbox);

        shellEncodingSelectBox = new PrefEncodingSelectBox(new DialogOwner(parent), MuConfigurations.getPreferences().getVariable(MuPreference.SHELL_ENCODING)) {
            public boolean hasChanged() {
                return !MuConfigurations.getPreferences().getVariable(MuPreference.SHELL_ENCODING).equals(getSelectedEncoding());
            }
        };
        shellEncodingSelectBox.setEnabled(!autoDetect);
View Full Code Here

    @Override
    public JMenuBar getMenuBar() {
      JMenuBar menuBar = super.getMenuBar();

      // Encoding menu
         EncodingMenu encodingMenu = new EncodingMenu(new DialogOwner(getFrame()), textViewerDelegate.getEncoding());
         encodingMenu.addEncodingListener(this);

         menuBar.add(editMenu);
         menuBar.add(viewMenu);
         menuBar.add(encodingMenu);
View Full Code Here

    @Override
    public JMenuBar getMenuBar() {
      JMenuBar menuBar = super.getMenuBar();
     
      // Encoding menu
      EncodingMenu encodingMenu = new EncodingMenu(new DialogOwner(getFrame()), encoding);
        encodingMenu.addEncodingListener(this);

        menuBar.add(editMenu);
        menuBar.add(viewMenu);
        menuBar.add(encodingMenu);
View Full Code Here

TOP

Related Classes of com.mucommander.ui.dialog.DialogOwner

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.