public Preferences() throws FileNotFoundException, IOException {
        initComponents();
        
        /* Load saved preferences if there are any */
        File prefFile = new File(System.getProperty("user.home") + "/Documents/AcerX/settingsYM.txt");
        if (prefFile.exists()) {
            BufferedReader pref = new BufferedReader(new FileReader(prefFile));
            jTextField1.setText(pref.readLine());
            jTextField2.setText(pref.readLine());
        }
    }