Package nu.lazy8.util.help

Examples of nu.lazy8.util.help.HelpedTextField


      st.executeUpdate(dcc.filterSQL("DELETE FROM AccountType WHERE CompId=" + companyId));
      if (deleteCompanyDef) {
        st = dcc.con.createStatement();
        st.executeUpdate(dcc.filterSQL("DELETE FROM Company WHERE CompId=" + companyId));
      }
      EditBus.send(new CompanyListChanged(null, "no parameters"));
    } catch (Exception e) {
      Log.log(Log.DEBUG, null, "Error in RemoveCompanyFromDatabase= " + e);
    }
  }//}}}
View Full Code Here


   */
  public void AfterGoodDelete() {
    //just make sure everything is gone.  Call function that deletes everything
    DeleteCompany.RemoveCompanyFromDatabase(textField1.getInteger().intValue(), view, false);
    super.AfterGoodDelete();
    EditBus.send(new CompanyListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

  }//}}}

  //{{{ +AfterGoodChange() : void
  public void AfterGoodChange() {
    super.AfterGoodChange();
    EditBus.send(new CompanyListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

   *  Description of the Method
   */
  public void AfterGoodWrite() {
    DataConnection.AddDefaultAccountTypes(textField1.getInteger().intValue());
    super.AfterGoodWrite();
    EditBus.send(new CompanyListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

      stmt.setInt(1, iCompId);
      stmt.setString(2, sCompName);
      stmt.executeUpdate();
      stmt.close();
      DataConnection.AddDefaultAccountTypes(iCompId);
      EditBus.send(new CompanyListChanged(null, "no parameters"));
    } catch (Exception ex) {
      System.err.println("Couldnt add company " + iCompId + ":" + sCompName + ":" + ex);
    }
  }//}}}
View Full Code Here

          "UPDATE Company set Name=? where CompId=?"));
      stmt.setString(1, sCompName);
      stmt.setInt(2, iCompId);
      stmt.executeUpdate();
      stmt.close();
      EditBus.send(new CompanyListChanged(null, "no parameters"));
    } catch (Exception ex) {
      System.err.println("Couldnt change company " + iCompId + ":" + sCompName + ":" + ex);
    }
  }//}}}
View Full Code Here

              "",
              JOptionPane.PLAIN_MESSAGE);
        }
      }
    }
    EditBus.send(new CompanyListChanged(null, "no parameters"));
    EditBus.send(new CustomerListChanged(null, "no parameters"));
    EditBus.send(new AccountTypeListChanged(null, "no parameters"));
  }//}}}
View Full Code Here

  /**
   *  Description of the Method
   */
  public void AfterGoodDelete() {
    super.AfterGoodDelete();
    EditBus.send(new CustomerListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

              JOptionPane.PLAIN_MESSAGE);
        }
      }
    }
    EditBus.send(new CompanyListChanged(null, "no parameters"));
    EditBus.send(new CustomerListChanged(null, "no parameters"));
    EditBus.send(new AccountTypeListChanged(null, "no parameters"));
  }//}}}
View Full Code Here

                (String) aValue);
          }
        }//}}}
      };

    sorter = new TableSorter(dataModel);
    // Create the table
    JTable table = new JTable(sorter);
    // Use a scrollbar, in case there are many columns.
    table.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
View Full Code Here

TOP

Related Classes of nu.lazy8.util.help.HelpedTextField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.