Package net.sf.jftp.gui.framework

Examples of net.sf.jftp.gui.framework.HInsetPanel


        catch(Exception ex) {
          Log.debug("Error initializing connection values!");
          //ex.printStackTrace();
        }

        HInsetPanel root = new HInsetPanel();
        root.setLayout(new GridLayout((ext ? 8 : 7), 2, 5, 3));
        root.add(host);
        root.add(port);
        root.add(anonBox);
        root.add(listBox);
        root.add(user);
        root.add(pass);
        root.add(dirBox);
        root.add(modeBox);
        root.add(lcwd);
        root.add(cwd);
        root.add(threadBox);
        root.add(dl);

        if(ext) {
          root.add(crlf);

          JPanel x1 = new JPanel();
          x1.setLayout(new BorderLayout(2,2));
          JLabel l1 = new JLabel("Unix: LF, Mac/MVS: CR, Win: CRLF");
          l1.setFont(new Font("Dialog", Font.PLAIN, 10));
          JLabel l2 = new JLabel("Don't change this unless you transfer text only");
          l2.setFont(new Font("Dialog", Font.PLAIN, 10));
          x1.add("North", l1);
          x1.add("South", l2);
          root.add(x1);
        }

        modeBox.setSelected(!Settings.getFtpPasvMode());
        threadBox.setSelected(Settings.getEnableMultiThreading());
        dirBox.setSelected(Settings.getUseDefaultDir());
        anonBox.addActionListener(this);
        threadBox.addActionListener(this);

        root.add(okP);
        okP.add(ok);
        ok.addActionListener(this);

        root.add(listP);
        listP.add(list);
        list.addActionListener(this);

        dirBox.addActionListener(this);
        setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
View Full Code Here


        cs.addItem("hmac-md5-96");

        keys.addItem("ssh-rsa");
        keys.addItem("ssh-dss");

        HInsetPanel root = new HInsetPanel();
        root.setLayout(new GridLayout(7, 2, 5, 3));
        root.add(host);
        root.add(port);
        root.add(user);
        root.add(pass);
        root.add(encL);
        root.add(enc);
        root.add(csL);
        root.add(cs);
        root.add(keysL);
        root.add(keys);
        root.add(keyP);
        root.add(new JLabel("Keyfiles are usually located ~/.ssh/ on UNIX"));
        root.add(useJSch);
        root.add(okP);
       
        useJSch.setSelected(true);

        keyP.add(keyfileL);
        keyP.add(keyfile);
View Full Code Here

TOP

Related Classes of net.sf.jftp.gui.framework.HInsetPanel

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.