*/
    private void jComboB_ItemsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboB_ItemsActionPerformed
        /*
         * lokale Variablen für diese Methode, momentan zu Testzwecken
         */
        int currentSemester = Sims_1._maingame.getSemester(); // current Semester
        boolean usedCheat = Sims_1._maingame.getCheated(currentSemester); //checks if Cheat was already used in this semester

        javax.swing.JComboBox box = (javax.swing.JComboBox) evt.getSource();
        String selected = (String) box.getSelectedItem();
        System.out.println("Right now selected " + selected);
        if (selected.equals("Spicker")) {
            if (Sims_1._maingame.cheatSheet.amount == 0) {
                System.out.println("Kein Spicker verfügbar");
                noCheatsAvailableDialog.setVisible(true);
            } else if ((currentSemester >= 2) && (currentSemester <= 6) && !usedCheat) {
                warningDialog.setVisible(true);
                System.out.println("show warning");
            } else {
                System.out.println("Du kannst in dem " + currentSemester + " Semester den Spicker nicht mehr einsetzen");
                notAllowedUseCheatDialog.setVisible(true);
            }
        }
    }