private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed
        if (ctrl.getDays() > 0)
        {
            jTabbedPane1.setSelectedIndex(1);
            jTextField13.setText(Integer.parseInt(ctrl.travel() + "") + "");
            jTextField12.setText(Integer.parseInt(ctrl.getScore() + "") + "");
            listModel = new DefaultListModel();
            for (int i = 0; i < drugArray.size(); i++)
            {
                listModel.addElement(drugArray.get(i));
            }
            jList1.setModel(listModel);
            jComboBox1.setModel(new DefaultComboBoxModel());
            for (int i = 0; i < landList.size(); i++)
            {
                jComboBox1.addItem(landList.get(i));
            }
            jTextField4.setText("");
            quantity1.setText("");
            jTextField5.setText("");
            jTextField6.setText("");
        }
        else
        {
            jTabbedPane1.setSelectedIndex(3);
            ctrl.save("highscore.txt");
            //userArray.clear();
            userArray = ctrl.load("highscore.txt");
            listModel = new DefaultListModel();
            for (int i = 0; i < userArray.size(); i++)
            {
                listModel.addElement(userArray.get(i));
            }
            jList3.setModel(listModel);
            
        }
    }//GEN-LAST:event_jButton6ActionPerformed