private void populateData() {

        String sharedDir = Configuration.getConfig(Configuration.CONFIG_SHARED_FILESYSTEM_PATH);
        
        String cluster = Configuration.getConfig(Configuration.CONFIG_SGE_CLUSTER);
        String location = Configuration.getConfig(Configuration.CONFIG_SGE_ROOT);
        String spoolDir = Configuration.getConfig(Configuration.CONFIG_SGE_SPOOL_DIR);
        String hosts = Configuration.getConfig(Configuration.CONFIG_SGE_EXEC_HOSTS);
        String admin = Configuration.getConfig(Configuration.CONFIG_SGE_ADMIN_USER);

        if (cluster == null) {
            cluster = "cluster";
        }

        if (location == null) {
            location = sharedDir + "sge";
        }

        if (spoolDir == null) {
            spoolDir = location + File.separator + "spool";
        }

        if (hosts == null) {
            hosts = "";
        } else {
            hosts = hosts.replaceAll(",", "\n");
        }


        if ( admin != null ) {
            sgeAdminLabel.setVisible(true);
            sgeAdminField.setVisible(true);
            sgeAdminField.setText(admin);
            sgeAdminCheckbox.setSelected(true);
        } else {
            sgeAdminLabel.setVisible(false);
            sgeAdminField.setVisible(false);
            sgeAdminField.setText("");
            sgeAdminCheckbox.setSelected(false);
        }

        sgeClusterField.setText(cluster);
        sgeLocationField.setText(location);
        sgeSpoolDirField.setText(spoolDir);
        sgeExecHostsArea.setText(hosts);


        int index = hostname.indexOf(".");
        if ( index != -1 ) {
            String domainName = hostname.substring(index);

            StringBuilder exampleBuilder = new StringBuilder();

            for ( int i = 1; i <= 3; i++ ) {
                exampleBuilder.append("   host-");
                exampleBuilder.append(i);
                exampleBuilder.append(domainName);
                exampleBuilder.append("\n");
            }

            sgeExecHostsExampleArea.setText(exampleBuilder.toString());
        } else {
            sgeExecHostsExampleArea.setText("   cluster-1.loni.ucla.edu\n   cluster-2.loni.ucla.edu\n   cluster-n.loni.ucla.edu");
        }
        
    }