Class ConfigurationPanel
package: net.jxta.myjxta.ui
java.lang.Object
  |
  +--java.awt.Component
       |
       +--java.awt.Container
            |
            +--javax.swing.JComponent
                 |
                 +--javax.swing.JPanel
                      |
                      +--net.jxta.myjxta.ui.ConfigurationPanel
public class ConfigurationPanel
Extends:
javax.swing.JPanel
Author:
james todd [gonzo at jxta dot org]
Version:
$Id: ConfigurationPanel.java,v 1.8 2005/05/06 20:31:07 gonzo Exp $
Field Summary
private List
   A list of files to use as a configuration base line
 
private boolean
private JButton
private JTextField
   The field that contains the name of the peer
 
private JPasswordField
   The field for the password used for pse login
 
private final static ResourceBundle
private JPasswordField
   The field used to confirm the password for pse login
 
Constructor Summary
public
ConfigurationPanel(List configuration)
   Create a new ConfigurationPanel
 
Method Summary
private void
private void
public String
   Return the password the peer used to secure the pse directory
 
public String
   Return the peerName the peer signed on with.
 
public boolean
private boolean
   Validate user input and display a descriptive message if the input is incorrect
 
private void
setExit(boolean isExit)
private void
ui()
   Construct the UI layout to soliciated the login information
 
Field Detail
configuration
private List configuration = null
A list of files to use as a configuration base line

isExit
private boolean isExit = false

ok
private JButton ok = null

peerName
private JTextField peerName = null
The field that contains the name of the peer

pwd
private JPasswordField pwd = null
The field for the password used for pse login

STRINGS
private final static ResourceBundle STRINGS = Resources.getStrings()

vpwd
private JPasswordField vpwd = null
The field used to confirm the password for pse login
Constructor Detail
ConfigurationPanel
public ConfigurationPanel(List configuration)
Create a new ConfigurationPanel
Parameters:
configuration file containing configuration information
Method Detail
clear
private void clear()

exit
private void exit()

getPassword
public String getPassword()
Return the password the peer used to secure the pse directory
Return:
the pse password
Exceptions:
IllegalStateException if the peer did not complete login

getPeerName
public String getPeerName()
Return the peerName the peer signed on with.
Return:
the peerName the peer signed on with
Exceptions:
IllegalStateException if the peer did not complete login

isExit
public boolean isExit()

isValidInput
private boolean isValidInput()
Validate user input and display a descriptive message if the input is incorrect

setExit
private void setExit(boolean isExit)

ui
private void ui()
Construct the UI layout to soliciated the login information