All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class UriPanel extends JPanel
A field used to select a file or directory. A button is displayed to allow user to browse the filesystem.
FileField Example
See Also:
  • Constructor Details

    • UriPanel

      public UriPanel(com.iamsoft.util.requestcache.Repository pRepository)
  • Method Details

    • getField

      public JComboBox getField()
      Field used for manual specification of filename (either a JFormattedTextField or a JComboBox). It is easy to prevent invalid file specifications by adding a property change listener as specified by the formatted text field API. Also, a user can be forced to choose a file using the file chooser by making this field non-editable.
    • getLoadButton

      public JButton getLoadButton()
    • getLoadAction

      public SwingAction getLoadAction()
    • getText

      public String getText()
      Returns:
      Text of file field.
    • getUrl

      public URL getUrl()
    • load

      protected void load()
    • main

      public static void main(String[] pArgs)
      Display a dummy frame with a FileField in it.