Exemplo n.º 1
0
 private void logoutSession(java.awt.event.WindowEvent evt) { // GEN-FIRST:event_logoutSession
   try {
     sData.logOut();
   } catch (RemoteException e) {
     e.printStackTrace();
   }
 } // GEN-LAST:event_logoutSession
Exemplo n.º 2
0
 /** Creates new form LoginForm */
 public MainForm(LibraryReaderInterface lib) {
   sData = new SessionData();
   sData.setLibrary(lib);
   initComponents();
   this.setLocationRelativeTo(null);
   initPanels();
 }