// Path: src/main/java/net/sourceforge/krut/Settings.java
// public class Settings {
// 
//     static {
//     }
// 
//     private static Preferences prefs = Preferences.userNodeForPackage(Run_KRUT.class);
//     public static final String PREF_CAPRECT_X = "PREF_CAPRECT_X";
//     public static final String PREF_CAPRECT_Y = "PREF_CAPRECT_Y";
//     public static final String PREF_CAPRECT_WIDHT = "PREF_CAPRECT_WIDHT";
//     public static final String PREF_CAPRECT_HEIGHT = "PREF_CAPRECT_HEIGHT";
// 
//     /**
//      * The starting value of the capture size.
//      * This is used in the createScreenGrabber() method.
//      * It is also passed on to the KrutSettings constructur
//      * from the init() method.
//      */
//     public static Rectangle getCaptureRect() {
//         return new Rectangle(
//                 prefs.getInt(PREF_CAPRECT_X, 0),
//                 prefs.getInt(PREF_CAPRECT_Y, 0),
//                 prefs.getInt(PREF_CAPRECT_WIDHT, 360),
//                 prefs.getInt(PREF_CAPRECT_HEIGHT, 240)
//         );
//     }
// 
//     public static void setCaptureRect(Rectangle captureRect) {
//         prefs.putInt(PREF_CAPRECT_X, (int) captureRect.getX());
//         prefs.putInt(PREF_CAPRECT_Y, (int) captureRect.getY());
//         prefs.putInt(PREF_CAPRECT_WIDHT, (int) captureRect.getWidth());
//         prefs.putInt(PREF_CAPRECT_HEIGHT, (int) captureRect.getHeight());
//     }
// }


import java.awt.Rectangle;
import net.sourceforge.krut.Settings;
        aCBMItem = aBox;
    }

    /** Set the Record Mouse Pointer checkbox of the main Krut window.
     *  This checkbox is called whenever the the Record Mouse Pointer 
     *  checkbox in this KrutSettings window is changed.
     *
     *  @param mBox The Record Video checkbox of the main Krut window.
     */
    public void setMChkBoxMenuItem(javax.swing.JCheckBoxMenuItem mBox) {
        mCBMItem = mBox;
    }
    
    /**  Change the value of the Record Video checkbox in the
     *  KrutSettings window.
     *
     *  @param  newVal  A boolean representing the new value of the
     *                  checkbox.
     */ 
    public void setVideoCheckBox(boolean newVal) {
             videoOutCheckbox.setSelected(newVal);
    }

    /**  Change the value of the Record Audio checkbox in the
     *  KrutSettings window.
     *
     *  @param  newVal  A boolean representing the new value of the
     *                  checkbox.
     */ 
    public void setAudioCheckBox(boolean newVal) {
// Path: src/main/java/net/sourceforge/krut/Settings.java
// public class Settings {
// 
//     static {
//     }
// 
//     private static Preferences prefs = Preferences.userNodeForPackage(Run_KRUT.class);
//     public static final String PREF_CAPRECT_X = "PREF_CAPRECT_X";
//     public static final String PREF_CAPRECT_Y = "PREF_CAPRECT_Y";
//     public static final String PREF_CAPRECT_WIDHT = "PREF_CAPRECT_WIDHT";
//     public static final String PREF_CAPRECT_HEIGHT = "PREF_CAPRECT_HEIGHT";
// 
//     /**
//      * The starting value of the capture size.
//      * This is used in the createScreenGrabber() method.
//      * It is also passed on to the KrutSettings constructur
//      * from the init() method.
//      */
//     public static Rectangle getCaptureRect() {
//         return new Rectangle(
//                 prefs.getInt(PREF_CAPRECT_X, 0),
//                 prefs.getInt(PREF_CAPRECT_Y, 0),
//                 prefs.getInt(PREF_CAPRECT_WIDHT, 360),
//                 prefs.getInt(PREF_CAPRECT_HEIGHT, 240)
//         );
//     }
// 
//     public static void setCaptureRect(Rectangle captureRect) {
//         prefs.putInt(PREF_CAPRECT_X, (int) captureRect.getX());
//         prefs.putInt(PREF_CAPRECT_Y, (int) captureRect.getY());
//         prefs.putInt(PREF_CAPRECT_WIDHT, (int) captureRect.getWidth());
//         prefs.putInt(PREF_CAPRECT_HEIGHT, (int) captureRect.getHeight());
//     }
// }


// Path: src/main/java/net/sourceforge/krut/ui/KrutSettings.java
import java.awt.Rectangle;
import net.sourceforge.krut.Settings;

        aCBMItem = aBox;
    }

    /** Set the Record Mouse Pointer checkbox of the main Krut window.
     *  This checkbox is called whenever the the Record Mouse Pointer 
     *  checkbox in this KrutSettings window is changed.
     *
     *  @param mBox The Record Video checkbox of the main Krut window.
     */
    public void setMChkBoxMenuItem(javax.swing.JCheckBoxMenuItem mBox) {
        mCBMItem = mBox;
    }
    
    /**  Change the value of the Record Video checkbox in the
     *  KrutSettings window.
     *
     *  @param  newVal  A boolean representing the new value of the
     *                  checkbox.
     */ 
    public void setVideoCheckBox(boolean newVal) {
             videoOutCheckbox.setSelected(newVal);
    }

    /**  Change the value of the Record Audio checkbox in the
     *  KrutSettings window.
     *
     *  @param  newVal  A boolean representing the new value of the
     *                  checkbox.
     */ 
    public void setAudioCheckBox(boolean newVal) {
             recAudioCheckbox.setSelected(newVal);