base/src/org/open2jam/gui/ChartModelLoader.java
//let's make a crc32 hash for the cache name
        CRC32 cs = new CRC32();
        cs.reset();

        byte[] d = dir.toString().getBytes();
        cs.update(d, 0, d.length);

        String str = "cache_"+Long.toHexString(cs.getValue()).toUpperCase()+".obj";
        try {
            new ObjectOutputStream(new FileOutputStream(str)).writeObject(table_model.getRawList());
void done()
java.awt.event.ActionEvent evt
base/src/org/open2jam/gui/NewInterface.java
btn_reloadActionPerformed(evt);
void actionPerformed(java.awt.event.ActionEvent evt)
java.awt.event.ActionEvent evt
base/src/org/open2jam/gui/NewInterface.java
//GEN-FIRST:event_btn_configurationActionPerformed
void btn_configurationActionPerformed(java.awt.event.ActionEvent evt)
java.awt.event.ActionEvent evt
base/src/org/open2jam/gui/NewInterface.java
//GEN-FIRST:event_btn_skinActionPerformed
void btn_skinActionPerformed(java.awt.event.ActionEvent evt)
java.awt.event.ActionEvent evt
base/src/org/open2jam/gui/NewInterface.java
//GEN-FIRST:event_btn_reloadActionPerformed
        updateSelection();
void btn_reloadActionPerformed(java.awt.event.ActionEvent evt)
String s
base/src/org/open2jam/gui/NewInterface.java
//let's make a crc32 hash for the cache name
        CRC32 cs = new CRC32();
        cs.reset();

        byte[] d = s.getBytes();
        cs.update(d, 0, d.length);

        return "cache_"+Long.toHexString(cs.getValue()).toUpperCase()+".obj";
String dirToCRC32(String s)
String dir
base/src/org/open2jam/gui/NewInterface.java
File cache = new File(dirToCRC32(dir));
        if(cache.exists()){
            try {
                @SuppressWarnings("unchecked") // yes, I'm sure its a list of chartlist
                List<ChartList> l = (List<ChartList>) new ObjectInputStream(new FileInputStream(cache)).readObject();
                model_songlist.clear();
                for(ChartList c : l)model_songlist.addRow(c);
void loadCache(String dir)
java.awt.event.ActionEvent evt
base/src/org/open2jam/gui/NewInterface.java
//GEN-FIRST:event_bConfigurationActionPerformed
void bConfigurationActionPerformed(java.awt.event.ActionEvent evt)
java.awt.event.ActionEvent evt
base/src/org/open2jam/gui/NewInterface.java
//GEN-FIRST:event_bSkinActionPerformed
void bSkinActionPerformed(java.awt.event.ActionEvent evt)