p2pgui.ClientFrame Class Reference

Classe che implementa il servizio Client. More...

Inheritance diagram for p2pgui.ClientFrame:
Collaboration diagram for p2pgui.ClientFrame:

Public Member Functions

 ClientFrame ()
 Costruttore che crea la form ClientFrame e attiva il server RMI C2C_server invocando un thread. More...
 
void addServer ()
 Metodo che estrae dai quattro jTextField i valori numerici, controlla se la stringa ottenuta e' un indirizzo ip e la inserisce nella jList1. More...
 
void updateFileList ()
 Chiamando la funzione "getList" nel ServerRMI, riceve la lista aggiornata dei file condivisi e la inserisce nella jTableShare1. More...
 
void setServerInList ()
 Metodo che richiando p2pclient.ClientGetLocalServerList.start ottiene la lista dei server attivi e la inserisce nella jList1. More...
 
void removeAllFromTable ()
 Metodo che rimuove tutto il contenuto di tabelle e liste nella GUI dei client. More...
 

Static Public Member Functions

static boolean isMyUser (String u)
 Metodo che verifica se la stringa passata corrisponde allo username del client. More...
 
static boolean isMyPswd (String p)
 Metodo che verifica se la stringa passata corrisponde alla password del client. More...
 
static void disconnectClient ()
 Metodo che effettua la disconnessione del client dal ServerRMI chiamando la funzione "disconnectClient". More...
 

Static Public Attributes

static boolean connection = false
 
static boolean DBG = true
 
static JTable jtabshare
 
static Hashtable h = new Hashtable()
 
static javax.swing.JLabel jLabel4
 

Private Member Functions

void initComponents ()
 Metodo chiamato dal costruttore per inizializzare la form WARNING: Do NOT modify this code. More...
 
void jButton5ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone di LogOut: creazione di un istanza di LogOutFramClient. More...
 
void jMenuItem1ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone di LogOut dal JMenu: creazione di un istanza di LogOutFramClient. More...
 
void jButton6ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone di connessione al server. More...
 
void jButton7ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone di update dei server disponibili. More...
 
void jMenuItem6ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu di update dei server disponibili. More...
 
void jMenuItem7ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu di connessione al server. More...
 
void jButton3ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone di share. More...
 
void jButton1ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone Open. More...
 
void jList1MouseClicked (java.awt.event.MouseEvent evt)
 Evento doubleclick sulla lista, che richiama la funzione serverSelected() More...
 
void jMenuItem3ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal jMenu Open. More...
 
void jMenuItem4ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone del JMenu di share. More...
 
void jButton4ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone Remove. More...
 
void jMenuItem5ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu Remove. More...
 
void jButton10ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone AddServer. More...
 
void formWindowClosing (java.awt.event.WindowEvent evt)
 Azione da effettuare alla chiusura della finestra: disconnessione del client. More...
 
void jButton2ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone Update file list. More...
 
void jButton11ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone Upload file to client. More...
 
void jButton12ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone Delete file. More...
 
void jMenuItem8ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu AddServer. More...
 
void jMenuItem2ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu Update file list. More...
 
void jMenuItem9ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu Delete file. More...
 
void jMenuItem10ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dael JMenu Upload file to client. More...
 
void jButton8ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone Disconnect client. More...
 
void jMenuItem11ActionPerformed (java.awt.event.ActionEvent evt)
 Azione effettuata in seguito alla pressione del bottone dal JMenu Disconnect client. More...
 
void serverSelected ()
 Metodo che estrae l'ip del server selezionato dalla jList1, richiede username e password, stabilisce la connessione tramite la funzione RMI "registerToServer" su ServerRMI. More...
 
void fileOpenRead ()
 Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringRead" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo il file con la funzione "getFile". More...
 
void deleteFile ()
 Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringDelete" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo di cancellare il file con la funzione "deleteFile". More...
 
void uploadFile ()
 Metodo che dato un file selezionato dal jFileChooser e un client selezionato da una combo box in una form, richiede tramite la funzione RMI "getAccessStringUpload" a ServerRMI la stringa d'accesso e si collega a C2C_server facendo un upload del file con la funzione "sendFile". More...
 
void setFileDirectoryListShared ()
 Metodo che dato il file selezionato dal jFileChooser, lo invia al ServerRmi tramite la funzione "sendList" e aggiorna la tabella jTableShare. More...
 
void removeRowSelectedShared ()
 Metodo che dato il file selezionato dalla tabella jTableShare, lo rimuove e invia la richiesta di rimozione dalla condivisione al ServerRmi tramite la funzione "removeFile". More...
 
String setBroadcastIp () throws UnknownHostException
 Metodo che genera l'indirizzo di broadcast di una sottorete. More...
 

Static Private Member Functions

static int booleanToRight (boolean read, boolean write)
 Converte i diritti da due boolean a un intero. More...
 
static boolean isServerOn (boolean output)
 Metodo che verifica se il server a cui sono connesso e' attivo. More...
 
static boolean amAlive (boolean output)
 Metodo che verifica se questo client e' ancora connesso al server. More...
 

Private Attributes

javax.swing.JButton jButton1
 
javax.swing.JButton jButton10
 
javax.swing.JButton jButton11
 
javax.swing.JButton jButton12
 
javax.swing.JButton jButton2
 
javax.swing.JButton jButton3
 
javax.swing.JButton jButton4
 
javax.swing.JButton jButton5
 
javax.swing.JButton jButton6
 
javax.swing.JButton jButton7
 
javax.swing.JButton jButton8
 
javax.swing.JFileChooser jFileChooser1
 
javax.swing.JLabel jLabel1
 
javax.swing.JLabel jLabel2
 
javax.swing.JLabel jLabel3
 
javax.swing.JLabel jLabel5
 
javax.swing.JLabel jLabel6
 
javax.swing.JLabel jLabel7
 
javax.swing.JLabel jLabel8
 
javax.swing.JLabel jLabel9
 
javax.swing.JList jList1
 
javax.swing.JMenu jMenu1
 
javax.swing.JMenu jMenu2
 
javax.swing.JMenu jMenu3
 
javax.swing.JMenu jMenu4
 
javax.swing.JMenuBar jMenuBar1
 
javax.swing.JMenuItem jMenuItem1
 
javax.swing.JMenuItem jMenuItem10
 
javax.swing.JMenuItem jMenuItem11
 
javax.swing.JMenuItem jMenuItem2
 
javax.swing.JMenuItem jMenuItem3
 
javax.swing.JMenuItem jMenuItem4
 
javax.swing.JMenuItem jMenuItem5
 
javax.swing.JMenuItem jMenuItem6
 
javax.swing.JMenuItem jMenuItem7
 
javax.swing.JMenuItem jMenuItem8
 
javax.swing.JMenuItem jMenuItem9
 
javax.swing.JScrollPane jScrollPane2
 
javax.swing.JScrollPane jScrollPane3
 
javax.swing.JScrollPane jScrollPane4
 
javax.swing.JSeparator jSeparator1
 
javax.swing.JSeparator jSeparator2
 
javax.swing.JSeparator jSeparator3
 
javax.swing.JSeparator jSeparator4
 
javax.swing.JTable jTableShare
 
javax.swing.JTable jTableShare1
 
javax.swing.JTextField jTextField1
 
javax.swing.JTextField jTextField2
 
javax.swing.JTextField jTextField4
 
javax.swing.JTextField jTextField5
 

Static Private Attributes

static String user = " "
 User e password che il client usa per connettersi al server. More...
 
static String pswd = " "
 
static String ip_server
 

Detailed Description

Classe che implementa il servizio Client.

Author
HTTPS://WWW.PIETRIS.NET

Definition at line 25 of file ClientFrame.java.

Constructor & Destructor Documentation

◆ ClientFrame()

p2pgui.ClientFrame.ClientFrame ( )
inline

Costruttore che crea la form ClientFrame e attiva il server RMI C2C_server invocando un thread.

See also
p2pclient.C2C_server

Definition at line 50 of file ClientFrame.java.

References p2pclient.ThreadRmiRegistryFile.dbg, p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.jFileChooser1, p2pgui.ClientFrame.jTableShare, and p2pgui.ClientFrame.jTableShare1.

Here is the call graph for this function:

Member Function Documentation

◆ addServer()

void p2pgui.ClientFrame.addServer ( )
inline

Metodo che estrae dai quattro jTextField i valori numerici, controlla se la stringa ottenuta e' un indirizzo ip e la inserisce nella jList1.

Definition at line 1066 of file ClientFrame.java.

References p2pgui.ClientFrame.jList1, p2pgui.ClientFrame.jTextField1, p2pgui.ClientFrame.jTextField2, p2pgui.ClientFrame.jTextField4, and p2pgui.ClientFrame.jTextField5.

Referenced by p2pgui.ClientFrame.jButton10ActionPerformed(), and p2pgui.ClientFrame.jMenuItem8ActionPerformed().

Here is the caller graph for this function:

◆ amAlive()

◆ booleanToRight()

static int p2pgui.ClientFrame.booleanToRight ( boolean  read,
boolean  write 
)
inlinestaticprivate

Converte i diritti da due boolean a un intero.

Parameters
readdiritto di lettura
writediritto di scrittura
Returns
int 0 = nessuno, 1 = sola lettura, 2 = tutti

Definition at line 1633 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.setFileDirectoryListShared().

Here is the caller graph for this function:

◆ deleteFile()

void p2pgui.ClientFrame.deleteFile ( )
inlineprivate

Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringDelete" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo di cancellare il file con la funzione "deleteFile".

Successivamente avvisa il server che il file e' stato cancellato

Definition at line 1337 of file ClientFrame.java.

References p2pclient.clientRMI.accessString, p2pgui.ClientFrame.DBG, p2pclient.clientRMI.id_file, p2pclient.clientRMI.id_owner, p2pgui.ClientFrame.jTableShare, p2pgui.ClientFrame.jTableShare1, p2putility.Util.logGeneric(), p2pclient.clientRMI.name_file, p2pclient.clientRMI.path_file, p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiFile.server_ip, p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.jButton12ActionPerformed(), and p2pgui.ClientFrame.jMenuItem9ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disconnectClient()

static void p2pgui.ClientFrame.disconnectClient ( )
inlinestatic

◆ fileOpenRead()

void p2pgui.ClientFrame.fileOpenRead ( )
inlineprivate

Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringRead" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo il file con la funzione "getFile".

Definition at line 1254 of file ClientFrame.java.

References p2pclient.clientRMI.accessString, p2pgui.ClientFrame.DBG, p2pclient.clientRMI.id_file, p2pclient.clientRMI.id_owner, p2pgui.ClientFrame.jTableShare1, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiFile.server_ip, p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.jButton1ActionPerformed(), and p2pgui.ClientFrame.jMenuItem3ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ formWindowClosing()

void p2pgui.ClientFrame.formWindowClosing ( java.awt.event.WindowEvent  evt)
inlineprivate

Azione da effettuare alla chiusura della finestra: disconnessione del client.

Parameters
evt

Definition at line 840 of file ClientFrame.java.

References p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.jLabel6, p2putility.Config.r_ico_server_disable(), p2putility.Config.r_serverOpen(), and p2putility.Config.w_clientOpen().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initComponents()

void p2pgui.ClientFrame.initComponents ( )
inlineprivate

Metodo chiamato dal costruttore per inizializzare la form WARNING: Do NOT modify this code.

The content of this method is always regenerated by the Form Editor.

Definition at line 75 of file ClientFrame.java.

References p2pgui.ClientFrame.formWindowClosing(), p2pgui.ClientFrame.jButton1, p2pgui.ClientFrame.jButton10, p2pgui.ClientFrame.jButton10ActionPerformed(), p2pgui.ClientFrame.jButton11, p2pgui.ClientFrame.jButton11ActionPerformed(), p2pgui.ClientFrame.jButton12, p2pgui.ClientFrame.jButton12ActionPerformed(), p2pgui.ClientFrame.jButton1ActionPerformed(), p2pgui.ClientFrame.jButton2, p2pgui.ClientFrame.jButton2ActionPerformed(), p2pgui.ClientFrame.jButton3, p2pgui.ClientFrame.jButton3ActionPerformed(), p2pgui.ClientFrame.jButton4, p2pgui.ClientFrame.jButton4ActionPerformed(), p2pgui.ClientFrame.jButton5, p2pgui.ClientFrame.jButton5ActionPerformed(), p2pgui.ClientFrame.jButton6, p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jButton7, p2pgui.ClientFrame.jButton7ActionPerformed(), p2pgui.ClientFrame.jButton8, p2pgui.ClientFrame.jButton8ActionPerformed(), p2pgui.ClientFrame.jFileChooser1, p2pgui.ClientFrame.jLabel1, p2pgui.ClientFrame.jLabel2, p2pgui.ClientFrame.jLabel3, p2pgui.ClientFrame.jLabel4, p2pgui.ClientFrame.jLabel5, p2pgui.ClientFrame.jLabel6, p2pgui.ClientFrame.jLabel7, p2pgui.ClientFrame.jLabel8, p2pgui.ClientFrame.jLabel9, p2pgui.ClientFrame.jList1, p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenu1, p2pgui.ClientFrame.jMenu2, p2pgui.ClientFrame.jMenu3, p2pgui.ClientFrame.jMenu4, p2pgui.ClientFrame.jMenuBar1, p2pgui.ClientFrame.jMenuItem1, p2pgui.ClientFrame.jMenuItem10, p2pgui.ClientFrame.jMenuItem10ActionPerformed(), p2pgui.ClientFrame.jMenuItem11, p2pgui.ClientFrame.jMenuItem11ActionPerformed(), p2pgui.ClientFrame.jMenuItem1ActionPerformed(), p2pgui.ClientFrame.jMenuItem2, p2pgui.ClientFrame.jMenuItem2ActionPerformed(), p2pgui.ClientFrame.jMenuItem3, p2pgui.ClientFrame.jMenuItem3ActionPerformed(), p2pgui.ClientFrame.jMenuItem4, p2pgui.ClientFrame.jMenuItem4ActionPerformed(), p2pgui.ClientFrame.jMenuItem5, p2pgui.ClientFrame.jMenuItem5ActionPerformed(), p2pgui.ClientFrame.jMenuItem6, p2pgui.ClientFrame.jMenuItem6ActionPerformed(), p2pgui.ClientFrame.jMenuItem7, p2pgui.ClientFrame.jMenuItem7ActionPerformed(), p2pgui.ClientFrame.jMenuItem8, p2pgui.ClientFrame.jMenuItem8ActionPerformed(), p2pgui.ClientFrame.jMenuItem9, p2pgui.ClientFrame.jMenuItem9ActionPerformed(), p2pgui.ClientFrame.jScrollPane2, p2pgui.ClientFrame.jScrollPane3, p2pgui.ClientFrame.jScrollPane4, p2pgui.ClientFrame.jSeparator1, p2pgui.ClientFrame.jSeparator2, p2pgui.ClientFrame.jSeparator3, p2pgui.ClientFrame.jSeparator4, p2pgui.ClientFrame.jTableShare, p2pgui.ClientFrame.jTableShare1, p2pgui.ClientFrame.jTextField1, p2pgui.ClientFrame.jTextField2, p2pgui.ClientFrame.jTextField4, and p2pgui.ClientFrame.jTextField5.

Referenced by p2pgui.ClientFrame.ClientFrame().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isMyPswd()

static boolean p2pgui.ClientFrame.isMyPswd ( String  p)
inlinestatic

Metodo che verifica se la stringa passata corrisponde alla password del client.

Parameters
ppassword
Returns
true se sono equivalenti, false altrimenti

Definition at line 1752 of file ClientFrame.java.

References p2pgui.ClientFrame.pswd.

Referenced by p2pclient.C2C_server.addAuthUser().

Here is the caller graph for this function:

◆ isMyUser()

static boolean p2pgui.ClientFrame.isMyUser ( String  u)
inlinestatic

Metodo che verifica se la stringa passata corrisponde allo username del client.

Parameters
uusername
Returns
true se sono equivalenti, false altrimenti

Definition at line 1737 of file ClientFrame.java.

References p2pgui.ClientFrame.user.

Referenced by p2pclient.C2C_server.addAuthUser().

Here is the caller graph for this function:

◆ isServerOn()

◆ jButton10ActionPerformed()

void p2pgui.ClientFrame.jButton10ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone AddServer.

Richiama la funzione addServer()

Parameters
evt

Definition at line 831 of file ClientFrame.java.

References p2pgui.ClientFrame.addServer().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton11ActionPerformed()

void p2pgui.ClientFrame.jButton11ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone Upload file to client.

Richiama la funzione uploadFile()

Parameters
evt

Definition at line 877 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.uploadFile().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton12ActionPerformed()

void p2pgui.ClientFrame.jButton12ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone Delete file.

Richiama la funzione deleteFile()

Parameters
evt

Definition at line 894 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton1ActionPerformed()

void p2pgui.ClientFrame.jButton1ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone Open.

Richiama la funzione fileOpenRead(), per effettuare la get del file selezionato

Parameters
evt

Definition at line 718 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton2ActionPerformed()

void p2pgui.ClientFrame.jButton2ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone Update file list.

Richiama la funzione updateFileList() e aggiorna la lista dei file condivisi

Parameters
evt

Definition at line 859 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.updateFileList().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton3ActionPerformed()

void p2pgui.ClientFrame.jButton3ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone di share.

Richiama la funzione setFileDirectoryListShared()

Parameters
evt

Definition at line 698 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.setFileDirectoryListShared().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton4ActionPerformed()

void p2pgui.ClientFrame.jButton4ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone Remove.

Richiama la funzione removeRowSelectedShared(), per rimuovere la condivisione del file selezionato

Parameters
evt

Definition at line 796 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.removeRowSelectedShared().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton5ActionPerformed()

void p2pgui.ClientFrame.jButton5ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone di LogOut: creazione di un istanza di LogOutFramClient.

Parameters
evt

Definition at line 615 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

Here is the caller graph for this function:

◆ jButton6ActionPerformed()

void p2pgui.ClientFrame.jButton6ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone di connessione al server.

Richiama la funzione serverSelected()

Parameters
evt

Definition at line 637 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.pswd, p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton7ActionPerformed()

void p2pgui.ClientFrame.jButton7ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone di update dei server disponibili.

Richiama la funzione setServerInList()

Parameters
evt

Ottieni un'array di stringhe con i nomi dei server attivi

Definition at line 658 of file ClientFrame.java.

References p2pgui.ClientFrame.setServerInList().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jButton8ActionPerformed()

void p2pgui.ClientFrame.jButton8ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone Disconnect client.

Richiama la funzione disconnectClient()

Parameters
evt

Definition at line 973 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jList1MouseClicked()

void p2pgui.ClientFrame.jList1MouseClicked ( java.awt.event.MouseEvent  evt)
inlineprivate

Evento doubleclick sulla lista, che richiama la funzione serverSelected()

Parameters
evt

Definition at line 736 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.pswd, p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem10ActionPerformed()

void p2pgui.ClientFrame.jMenuItem10ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dael JMenu Upload file to client.

Richiama la funzione uploadFile()

Parameters
evt

Definition at line 956 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.uploadFile().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem11ActionPerformed()

void p2pgui.ClientFrame.jMenuItem11ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu Disconnect client.

Richiama la funzione disconnectClient()

Parameters
evt

Definition at line 991 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem1ActionPerformed()

void p2pgui.ClientFrame.jMenuItem1ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone di LogOut dal JMenu: creazione di un istanza di LogOutFramClient.

Parameters
evt

Definition at line 626 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

Here is the caller graph for this function:

◆ jMenuItem2ActionPerformed()

void p2pgui.ClientFrame.jMenuItem2ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu Update file list.

Richiama la funzione updateFileList() e aggiorna la lista dei file condivisi

Parameters
evt

Definition at line 921 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.updateFileList().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem3ActionPerformed()

void p2pgui.ClientFrame.jMenuItem3ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal jMenu Open.

Richiama la funzione fileOpenRead(), per effettuare la get del file selezionato

Parameters
evt

Definition at line 760 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem4ActionPerformed()

void p2pgui.ClientFrame.jMenuItem4ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone del JMenu di share.

Richiama la funzione setFileDirectoryListShared()

Parameters
evt

Definition at line 778 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.setFileDirectoryListShared().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem5ActionPerformed()

void p2pgui.ClientFrame.jMenuItem5ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu Remove.

Richiama la funzione removeRowSelectedShared(), per rimuovere la condivisione del file selezionato

Parameters
evt

Definition at line 814 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.removeRowSelectedShared().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem6ActionPerformed()

void p2pgui.ClientFrame.jMenuItem6ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu di update dei server disponibili.

Richiama la funzione setServerInList()

Parameters
evt

Ottieni un'array di stringhe con i nomi dei server attivi

Definition at line 668 of file ClientFrame.java.

References p2pgui.ClientFrame.setServerInList().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem7ActionPerformed()

void p2pgui.ClientFrame.jMenuItem7ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu di connessione al server.

Richiama la funzione serverSelected()

Parameters
evt

Definition at line 678 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.pswd, p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem8ActionPerformed()

void p2pgui.ClientFrame.jMenuItem8ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu AddServer.

Richiama la funzione addServer()

Parameters
evt

Definition at line 911 of file ClientFrame.java.

References p2pgui.ClientFrame.addServer().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jMenuItem9ActionPerformed()

void p2pgui.ClientFrame.jMenuItem9ActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione effettuata in seguito alla pressione del bottone dal JMenu Delete file.

Richiama la funzione deleteFile()

Parameters
evt

Definition at line 939 of file ClientFrame.java.

References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.jLabel6, and p2putility.Config.r_ico_server_disable().

Referenced by p2pgui.ClientFrame.initComponents().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeAllFromTable()

◆ removeRowSelectedShared()

void p2pgui.ClientFrame.removeRowSelectedShared ( )
inlineprivate

Metodo che dato il file selezionato dalla tabella jTableShare, lo rimuove e invia la richiesta di rimozione dalla condivisione al ServerRmi tramite la funzione "removeFile".

Definition at line 1659 of file ClientFrame.java.

References p2pgui.ClientFrame.h, p2pgui.ClientFrame.jTableShare, p2putility.Util.logGeneric(), p2pclient.clientRMI.name_file, p2pclient.clientRMI.path_file, p2pgui.ClientFrame.pswd, p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.jButton4ActionPerformed(), and p2pgui.ClientFrame.jMenuItem5ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ serverSelected()

void p2pgui.ClientFrame.serverSelected ( )
inlineprivate

Metodo che estrae l'ip del server selezionato dalla jList1, richiede username e password, stabilisce la connessione tramite la funzione RMI "registerToServer" su ServerRMI.

Definition at line 1193 of file ClientFrame.java.

References p2putility.Util.hash_sha(), p2pclient.clientRMI.id_user, p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.jLabel4, p2pgui.ClientFrame.jLabel6, p2pgui.ClientFrame.jList1, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_ico_server_enable(), p2putility.Config.r_threadtimeout(), and p2pgui.ClientFrame.user.

Referenced by p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), and p2pgui.ClientFrame.jMenuItem7ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBroadcastIp()

String p2pgui.ClientFrame.setBroadcastIp ( ) throws UnknownHostException
inlineprivate

Metodo che genera l'indirizzo di broadcast di una sottorete.

Returns
indirizzo di broadcast
Exceptions
java.net.UnknownHostException

Definition at line 1693 of file ClientFrame.java.

References p2putility.Config.r_netmask().

Referenced by p2pgui.ClientFrame.setServerInList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFileDirectoryListShared()

void p2pgui.ClientFrame.setFileDirectoryListShared ( )
inlineprivate

Metodo che dato il file selezionato dal jFileChooser, lo invia al ServerRmi tramite la funzione "sendList" e aggiorna la tabella jTableShare.

Definition at line 1565 of file ClientFrame.java.

References p2pgui.ClientFrame.booleanToRight(), p2pgui.ClientFrame.h, p2pgui.ClientFrame.jFileChooser1, p2pgui.ClientFrame.jTableShare, p2pclient.clientRMI.list, p2pgui.ClientFrame.pswd, p2pgui.Rights.read, p2pclient.ThreadRmiClient.user, p2pgui.ClientFrame.user, and p2pgui.Rights.write.

Referenced by p2pgui.ClientFrame.jButton3ActionPerformed(), and p2pgui.ClientFrame.jMenuItem4ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setServerInList()

void p2pgui.ClientFrame.setServerInList ( )
inline

Metodo che richiando p2pclient.ClientGetLocalServerList.start ottiene la lista dei server attivi e la inserisce nella jList1.

Definition at line 1162 of file ClientFrame.java.

References p2pgui.ClientFrame.jList1, p2putility.Util.logClient(), p2putility.Config.r_port(), p2putility.Config.r_threadtimeout(), p2pgui.ClientFrame.setBroadcastIp(), and p2pclient.ClientGetLocalServerList.start().

Referenced by p2pgui.ClientFrame.jButton7ActionPerformed(), and p2pgui.ClientFrame.jMenuItem6ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateFileList()

void p2pgui.ClientFrame.updateFileList ( )
inline

Chiamando la funzione "getList" nel ServerRMI, riceve la lista aggiornata dei file condivisi e la inserisce nella jTableShare1.

See also
p2pserver.ServerRMI

Definition at line 1104 of file ClientFrame.java.

References p2pgui.ClientFrame.jTableShare1, p2pclient.clientRMI.list, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiClient.user, p2pgui.ClientFrame.user, and p2pclient.clientRMI.where.

Referenced by p2pgui.ClientFrame.jButton2ActionPerformed(), and p2pgui.ClientFrame.jMenuItem2ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uploadFile()

void p2pgui.ClientFrame.uploadFile ( )
inlineprivate

Metodo che dato un file selezionato dal jFileChooser e un client selezionato da una combo box in una form, richiede tramite la funzione RMI "getAccessStringUpload" a ServerRMI la stringa d'accesso e si collega a C2C_server facendo un upload del file con la funzione "sendFile".

Definition at line 1468 of file ClientFrame.java.

References p2pclient.clientRMI.accessString, p2putility.Util.hash_sha(), p2pclient.clientRMI.id_file, p2pclient.clientRMI.id_owner, p2pgui.ClientFrame.jFileChooser1, p2pclient.clientRMI.list, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiFile.server_ip, p2pclient.ThreadRmiClient.user, p2pgui.ClientFrame.user, and p2pclient.clientRMI.where.

Referenced by p2pgui.ClientFrame.jButton11ActionPerformed(), and p2pgui.ClientFrame.jMenuItem10ActionPerformed().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ connection

boolean p2pgui.ClientFrame.connection = false
static

Definition at line 28 of file ClientFrame.java.

◆ DBG

boolean p2pgui.ClientFrame.DBG = true
static

◆ h

◆ ip_server

◆ jButton1

javax.swing.JButton p2pgui.ClientFrame.jButton1
private

Definition at line 1005 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton10

javax.swing.JButton p2pgui.ClientFrame.jButton10
private

Definition at line 1006 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton11

javax.swing.JButton p2pgui.ClientFrame.jButton11
private

Definition at line 1007 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton12

javax.swing.JButton p2pgui.ClientFrame.jButton12
private

Definition at line 1008 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton2

javax.swing.JButton p2pgui.ClientFrame.jButton2
private

Definition at line 1009 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton3

javax.swing.JButton p2pgui.ClientFrame.jButton3
private

Definition at line 1010 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton4

javax.swing.JButton p2pgui.ClientFrame.jButton4
private

Definition at line 1011 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton5

javax.swing.JButton p2pgui.ClientFrame.jButton5
private

Definition at line 1012 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton6

javax.swing.JButton p2pgui.ClientFrame.jButton6
private

Definition at line 1013 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton7

javax.swing.JButton p2pgui.ClientFrame.jButton7
private

Definition at line 1014 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jButton8

javax.swing.JButton p2pgui.ClientFrame.jButton8
private

Definition at line 1015 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jFileChooser1

javax.swing.JFileChooser p2pgui.ClientFrame.jFileChooser1
private

◆ jLabel1

javax.swing.JLabel p2pgui.ClientFrame.jLabel1
private

Definition at line 1017 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jLabel2

javax.swing.JLabel p2pgui.ClientFrame.jLabel2
private

Definition at line 1018 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jLabel3

javax.swing.JLabel p2pgui.ClientFrame.jLabel3
private

Definition at line 1019 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jLabel4

◆ jLabel5

javax.swing.JLabel p2pgui.ClientFrame.jLabel5
private

Definition at line 1021 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jLabel6

◆ jLabel7

javax.swing.JLabel p2pgui.ClientFrame.jLabel7
private

Definition at line 1023 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jLabel8

javax.swing.JLabel p2pgui.ClientFrame.jLabel8
private

Definition at line 1024 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jLabel9

javax.swing.JLabel p2pgui.ClientFrame.jLabel9
private

Definition at line 1025 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jList1

◆ jMenu1

javax.swing.JMenu p2pgui.ClientFrame.jMenu1
private

Definition at line 1027 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenu2

javax.swing.JMenu p2pgui.ClientFrame.jMenu2
private

Definition at line 1028 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenu3

javax.swing.JMenu p2pgui.ClientFrame.jMenu3
private

Definition at line 1029 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenu4

javax.swing.JMenu p2pgui.ClientFrame.jMenu4
private

Definition at line 1030 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuBar1

javax.swing.JMenuBar p2pgui.ClientFrame.jMenuBar1
private

Definition at line 1031 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem1

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem1
private

Definition at line 1032 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem10

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem10
private

Definition at line 1033 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem11

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem11
private

Definition at line 1034 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem2

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem2
private

Definition at line 1035 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem3

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem3
private

Definition at line 1036 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem4

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem4
private

Definition at line 1037 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem5

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem5
private

Definition at line 1038 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem6

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem6
private

Definition at line 1039 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem7

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem7
private

Definition at line 1040 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem8

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem8
private

Definition at line 1041 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jMenuItem9

javax.swing.JMenuItem p2pgui.ClientFrame.jMenuItem9
private

Definition at line 1042 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jScrollPane2

javax.swing.JScrollPane p2pgui.ClientFrame.jScrollPane2
private

Definition at line 1043 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jScrollPane3

javax.swing.JScrollPane p2pgui.ClientFrame.jScrollPane3
private

Definition at line 1044 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jScrollPane4

javax.swing.JScrollPane p2pgui.ClientFrame.jScrollPane4
private

Definition at line 1045 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jSeparator1

javax.swing.JSeparator p2pgui.ClientFrame.jSeparator1
private

Definition at line 1046 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jSeparator2

javax.swing.JSeparator p2pgui.ClientFrame.jSeparator2
private

Definition at line 1047 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jSeparator3

javax.swing.JSeparator p2pgui.ClientFrame.jSeparator3
private

Definition at line 1048 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jSeparator4

javax.swing.JSeparator p2pgui.ClientFrame.jSeparator4
private

Definition at line 1049 of file ClientFrame.java.

Referenced by p2pgui.ClientFrame.initComponents().

◆ jTableShare

◆ jTableShare1

◆ jtabshare

JTable p2pgui.ClientFrame.jtabshare
static

Definition at line 33 of file ClientFrame.java.

Referenced by p2pclient.C2C_server.deleteFile().

◆ jTextField1

javax.swing.JTextField p2pgui.ClientFrame.jTextField1
private

◆ jTextField2

javax.swing.JTextField p2pgui.ClientFrame.jTextField2
private

◆ jTextField4

javax.swing.JTextField p2pgui.ClientFrame.jTextField4
private

◆ jTextField5

javax.swing.JTextField p2pgui.ClientFrame.jTextField5
private

◆ pswd

◆ user


The documentation for this class was generated from the following file: