private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
         String file_name = "storage.txt";
                try {
            ReadFile file = new ReadFile(file_name);
            String[] aryLines = file.OpenFile();
            Integer b = i;
            if (i!=0){
                i--;
                String[] info = (aryLines[i].split(";"));
                nameLabel.setText(info[0]);
                addressLabel.setText(info[1]);
                phoneLabel.setText(info[2]);
                mailLabel.setText(info[3]);
                num1Label.setText(b.toString());
                

            }
        }
        catch (IOException e) {
            System.out.println( e.getMessage());
        }
    }//GEN-LAST:event_jButton2ActionPerformed