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