Package xnap.gui

Examples of xnap.gui.DirectoryPanel$SwingDirectoryChooserAction


  // download directory
  JPanel jpDl = new JPanel(new GridBagLayout());
  jpDl.setBorder(new TitledBorder(XNap.tr("Download Directory", 1)));
        GridBagHelper.add(this, jpDl);
        jteDownloadDir = new DirectoryPanel(prefs.getDownloadDir(), 20);
  GridBagHelper.add(jpDl, jteDownloadDir);
  // advanced button
  GridBagHelper.add(jpDl, new JButton(new AdvancedAction()),
        GridBagHelper.COMPONENT_INSETS, false,
        GridBagConstraints.NORTHEAST);

  // incomplete directory
  JPanel jpIncomplete = new JPanel(new GridBagLayout());
  jpIncomplete.setBorder
      (new TitledBorder(XNap.tr("Incomplete Directory", 1)));
  GridBagHelper.add(this, jpIncomplete);
        jteIncompleteDir = new DirectoryPanel(prefs.getIncompleteDir(), 20);
  GridBagHelper.add(jpIncomplete, jteIncompleteDir);

  // upload directory list
  JPanel jpUl = new JPanel(new GridBagLayout());
  // share full path
View Full Code Here

TOP

Related Classes of xnap.gui.DirectoryPanel$SwingDirectoryChooserAction

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.