Need help with retrieving data in vector using for-loop

ok for my code, i type in String name, password, phone number and int currentsalary and desiredsalary into the textfields and click Add, and it goes into the vector and name appears on the JList ApplicantList.
what do i add to my listselectionlistener so that by clicking on the name, i can display the details of the person whose name is in the list, back on the texfields?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.text.*;
import java.util.*;
import java.util.Vector;
import javax.swing.JScrollPane.*;
import javax.swing.event.ListSelectionListener;
public class Employment extends JFrame
        //declare class variables
        private JPanel jpApplicant, jpEverything,jpWEST, jpCENTRE, jpEAST, jpAddEditDelete,
                                   jpCentreTOP, jpCentreBOT, jpEastTOP, jpEastCENTRE, jpEastBOT,
                                   jpBlank1, panel1, panel2, panel3, panel4;
        private JLabel jlblApplicantForm, jlblAppList, jlblName, jlblPhone,
                                   jlblCurrentSalary, jlblPassword, jlblDesiredSalary,
                                   jlblNotes, jlblApplicantSkills, jlblIndustrySkills,
                                   jlblBlank1, jlblBlank2;
        private JButton jbtnAdd1, jbtnEdit, jbtnDelete, jbtnSave, jbtnCancel,
                                        jbtnAdd2, jbtnRemove;
        private JTextField jtfName, jtfPhone, jtfCurrentSalary, jtfPassword,
                                           jtfDesiredSalary;
           String name,password,phone,currentsalary,desiredsalary,textareastuff;
           String selectedname;
        private         JTabbedPane tabbedPane;
        private DefaultListModel listModel,listModel2;
       private ListSelectionModel listSelectionModel;
        JList ApplicantList, ApplicantSkillsList, IndustrySkillsList;
        protected JTextArea NotesList;    
        Label ApplicantListLabel, NotesListLabel, ApplicantSkillsLabel,
                                IndustrySkillsLabel;                
                Vector details = new Vector();
            public static void main(String []args)
                Employment f = new Employment();
                f.setVisible(true);
                f.setDefaultCloseOperation(EXIT_ON_CLOSE);
                f.setResizable(false);
            }//end of main
                public Employment()
                        setSize(800,475);
                        setTitle("E-commerce Placement Agency");
                        JPanel topPanel = new JPanel();
                        topPanel.setLayout( new BorderLayout() );
                        getContentPane().add( topPanel );
                        createPage1();
                        createPage2();
                        createPage3();
                        createPage4();
                        tabbedPane = new JTabbedPane();
                        tabbedPane.addTab( "Applicant", panel1 );
                        tabbedPane.addTab( "Job Order", panel2 );
                        tabbedPane.addTab( "Skill", panel3 );
                        tabbedPane.addTab( "Company", panel4 );
                        topPanel.add( tabbedPane, BorderLayout.CENTER );
        public void createPage1()//PAGE 1
                                panel1 = new JPanel();
                                panel1.setLayout( new BorderLayout());
                                jpApplicant= new JPanel();
                        jpApplicant.setLayout(new BorderLayout());
                        Font bigFont = new Font("TimesRoman", Font.BOLD,24);
                        jlblApplicantForm = new JLabel("\t\t\t\tAPPLICANT FORM  ");
                        jlblApplicantForm.setFont(bigFont);
                        jpApplicant.add(jlblApplicantForm,BorderLayout.EAST);
                        panel1.add(jpApplicant,BorderLayout.NORTH);
       /*****************************************WEST*********************************/             
                        jpWEST = new JPanel();                 
                        jpWEST.setLayout( new BorderLayout());
                        //Applicant List
                              listModel2=new DefaultListModel();
                              ApplicantList = new JList(listModel2);
                            listSelectionModel = ApplicantList.getSelectionModel();
                            listSelectionModel.addListSelectionListener(new SharedListSelectionHandler());
                            JScrollPane scrollPane3 = new JScrollPane(ApplicantList);
                        ApplicantListLabel = new Label( "Applicant List:");
                        jpWEST.add(ApplicantListLabel,"North"); 
                        jpWEST.add(scrollPane3,"Center");
                        panel1.add(jpWEST,BorderLayout.WEST);
                        /*********CENTRE*********/
                        jpCENTRE = new JPanel();
                        jpCENTRE.setLayout(new GridLayout(2,1));
                        jpCentreTOP = new JPanel();
                        panel1.add(jpCENTRE,BorderLayout.CENTER);
                        jpCENTRE.add(jpCentreTOP);
                        jpCentreTOP.setLayout(new GridLayout(6,2));
                        jlblName = new JLabel( "Name:");
                        jlblBlank1 = new JLabel ("");
                        jtfName = new JTextField(18);
                        jlblBlank2 = new JLabel("");
                        jlblPhone = new JLabel("Phone:");
                        jlblCurrentSalary = new JLabel("Current Salary:");
                        jtfPhone = new JTextField(13);
                        jtfCurrentSalary = new JTextField(7);
                        jlblPassword = new JLabel("Password:");
                        jlblDesiredSalary = new JLabel("Desired Salary:");
                        jtfPassword = new JTextField(13);
                        jtfDesiredSalary = new JTextField(6);
                        jpCentreTOP.add(jlblName);
                        jpCentreTOP.add(jlblBlank1);
                        jpCentreTOP.add(jtfName);
                        jpCentreTOP.add(jlblBlank2);
                        jpCentreTOP.add(jlblPhone);
                        jpCentreTOP.add(jlblCurrentSalary);
                        jpCentreTOP.add(jtfPhone);
                        jpCentreTOP.add(jtfCurrentSalary);
                        jpCentreTOP.add(jlblPassword);
                        jpCentreTOP.add(jlblDesiredSalary);
                        jpCentreTOP.add(jtfPassword);
                        jpCentreTOP.add(jtfDesiredSalary);
                        //Noteslist
                        jpCentreBOT = new JPanel();
                        jpCentreBOT.setLayout( new BorderLayout());
                        jpCENTRE.add(jpCentreBOT);
                        jpBlank1 = new JPanel();
                           JTextArea Noteslist=new JTextArea();
                        JScrollPane scroll3=new JScrollPane(Noteslist);
                            scroll3.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                            scroll3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                          //scroll3.setSize(new Dimension(1,1));
                        NotesListLabel = new Label( "Notes:");
                        jpCentreBOT.add(NotesListLabel,"North"); 
                        jpCentreBOT.add(scroll3,"Center");
                        jpCentreBOT.add(jpBlank1,"South");
                        panel1.add(jpCENTRE,BorderLayout.CENTER);
                        /**********EAST**********/
                        //Applicant Skills Panel
                        //EAST ==> TOP
                        jpEAST = new JPanel();
                        jpEAST.setLayout( new BorderLayout());
                        jpEastTOP = new JPanel();
                        jpEastTOP.setLayout( new BorderLayout());
                        listModel = new DefaultListModel();
                        ApplicantSkillsList = new JList(listModel);
                        ApplicantSkillsLabel = new Label( "Applicant Skills");
                       // JScrollPane scrollPane1 = new JScrollPane(ApplicantSkillsList,
                       //                                                   JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                        JScrollPane scrollPane1 = new JScrollPane(ApplicantSkillsList);
                           scrollPane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                          scrollPane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);                                             
                        ApplicantSkillsList.setVisibleRowCount(6);
                        jpEastTOP.add(ApplicantSkillsLabel,"North"); 
//                        ApplicantSkillsList.addItemListener(new selectNameListener());
                        jpEastTOP.add(scrollPane1,"Center");
                        jpEAST.add(jpEastTOP,BorderLayout.NORTH);
                        panel1.add(jpEAST,BorderLayout.EAST);
                        //Add & Remove Buttons
                        //EAST ==> CENTRE
                        jpEastCENTRE = new JPanel();
                        jpEAST.add(jpEastCENTRE,BorderLayout.CENTER);
                        jbtnAdd2 = new JButton("Add");
                        jbtnRemove = new JButton("Remove");
                        //add buttons to panel
                        jpEastCENTRE.add(jbtnAdd2);
                        jpEastCENTRE.add(jbtnRemove);
                        //add listener to button
                       jbtnAdd2.addActionListener(new Add2Listener());
                       jbtnRemove.addActionListener(new RemoveListener());
                        //Industry Skills Panel
                        //EAST ==> BOTTOM
                        jpEastBOT = new JPanel();
                        jpEastBOT.setLayout( new BorderLayout());
                       String[] data = {"Access97", "Basic Programming",
                       "C++ Programming", "COBOL Programming",
                       "DB Design", "Fortran programming"};
                       IndustrySkillsList = new JList(data);
                       JScrollPane scrollPane = new JScrollPane(IndustrySkillsList);
                       scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                       scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                       IndustrySkillsLabel = new Label( "Industry Skills:");
                       jpEastBOT.add(IndustrySkillsLabel,"North"); 
                       jpEastBOT.add(scrollPane,"Center");
                       jpEAST.add(jpEastBOT,BorderLayout.SOUTH);
                        //BOTTOM
                        jpAddEditDelete= new JPanel();
                        jbtnAdd1=       new JButton("Add");
                        jbtnEdit=       new JButton("Edit");
                        jbtnDelete=     new JButton("Delete");
                        jbtnSave=       new JButton("Save");
                        jbtnCancel=     new JButton("Cancel");
                        jpAddEditDelete.add(jbtnAdd1);
                        jpAddEditDelete.add(jbtnEdit);
                        jpAddEditDelete.add(jbtnDelete);
                        jpAddEditDelete.add(jbtnSave);
                        jpAddEditDelete.add(jbtnCancel);
                       //jbtnEdit.addActionListener(new EditListener());
                        jbtnAdd1.addActionListener(new Add1Listener());
                        jbtnCancel.addActionListener(new CancelListener());
                        panel1.add(jpAddEditDelete,BorderLayout.SOUTH);
        public void createPage2()//PAGE 2
                panel2 = new JPanel();
                panel2.setLayout( new GridLayout(1,1) );
                panel2.add( new JLabel( "Sorry,under construction" ) );
        public void createPage3()//PAGE 3
                panel3 = new JPanel();
                panel3.setLayout( new GridLayout( 1, 1 ) );
                panel3.add( new JLabel( "Sorry,under construction" ) );
        public void createPage4()//PAGE 4
                panel4 = new JPanel();
                panel4.setLayout( new GridLayout( 1, 1 ) );
                panel4.add( new JLabel( "Sorry,under construction" ) );
        public class Add1Listener implements ActionListener
        public void actionPerformed(ActionEvent e)
                //String name,password,phone,currentsalary,desiredsalary,textareastuff;
                name = jtfName.getText();
                password = jtfPassword.getText();
                phone = jtfPhone.getText();
                currentsalary = jtfCurrentSalary.getText();
                int i= Integer.parseInt(currentsalary);
                desiredsalary = jtfDesiredSalary.getText();
                int j= Integer.parseInt(desiredsalary);
                   StoringData person = new StoringData(name,password,phone,i,j);
                //textareastuff = NotesList.getText();
                details.add(person);
              listModel2.addElement(name);
                jtfName.setText("");
                jtfPassword.setText("");
                jtfPhone.setText("");
                jtfCurrentSalary.setText("");
                jtfDesiredSalary.setText("");
              //  NotesList.setText("");
                // NotesList.append("");          
               // details.addElement(name);
        public class Add2Listener implements ActionListener
                public void actionPerformed(ActionEvent e)
                       String temp1;
                       temp1 = (String)IndustrySkillsList.getSelectedValue();
                       listModel.addElement(temp1);
        public class RemoveListener implements ActionListener
                public void actionPerformed(ActionEvent e)
                        int index = ApplicantSkillsList.getSelectedIndex();
                  listModel.remove(index);
        public class EditListener implements ActionListener
                public void actionPerformed(ActionEvent e)
        public class DeleteListener implements ActionListener
                public void actionPerformed(ActionEvent e)
        public class SaveListener implements ActionListener
                public void actionPerformed(ActionEvent e)
        public class CancelListener implements ActionListener
                public void actionPerformed(ActionEvent e)
                jtfName.setText("");
                jtfPassword.setText("");
                jtfPhone.setText("");
                jtfCurrentSalary.setText("");
                jtfDesiredSalary.setText("");                         
        public class SharedListSelectionHandler implements ListSelectionListener
        public void valueChanged(ListSelectionEvent e)
           selectedname =ApplicantList.getSelectedValue().toString();
           // ListSelectionModel lsm = (ListSelectionModel)e.getSource();
            System.out.println(selectedname);
          // for(selectedname==n)
          //     System.out.println(ApplicantList.getSelectedValue().toString());
          //     jtfName.setText(n);
    //int firstIndex = e.getFirstIndex();
            //int lastIndex = e.getLastIndex();
            //boolean isAdjusting = e.getValueIsAdjusting();
            /*if (lsm.isSelectionEmpty())
               System.out.println("hahahhaa");
            } else {
                // Find out which indexes are selected.
                /*int minIndex = lsm.getMinSelectionIndex();
                int maxIndex = lsm.getMaxSelectionIndex();
                /*for (int i = minIndex; i <= maxIndex; i++)
                   /* if (lsm.isSelectedIndex(i))
                       System.out.println("hohoho");
            System.out.println("haho");*/
}

ok i added that part inside my listselectionlistener
it says incompatible types in line 421.
and where do i insert :
StoringData selectedPerson = detailMap.get(selectedName)
and/or
StoringData selectedPerson = ApplicantList.getSelectedValue()
this is what the code looks like after i added the loop u gave me
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.text.*;
import java.util.*;
import java.util.Vector;
import javax.swing.JScrollPane.*;
//import javax.swing.event.ListSelectionListener;
public class Employment extends JFrame
        //declare class variables
        private JPanel jpApplicant, jpEverything,jpWEST, jpCENTRE, jpEAST, jpAddEditDelete,
                                   jpCentreTOP, jpCentreBOT, jpEastTOP, jpEastCENTRE, jpEastBOT,
                                   jpBlank1, panel1, panel2, panel3, panel4;
        private JLabel jlblApplicantForm, jlblAppList, jlblName, jlblPhone,
                                   jlblCurrentSalary, jlblPassword, jlblDesiredSalary,
                                   jlblNotes, jlblApplicantSkills, jlblIndustrySkills,
                                   jlblBlank1, jlblBlank2;
        private JButton jbtnAdd1, jbtnEdit, jbtnDelete, jbtnSave, jbtnCancel,
                                        jbtnAdd2, jbtnRemove;
        private JTextField jtfName, jtfPhone, jtfCurrentSalary, jtfPassword,
                                           jtfDesiredSalary;
           String name,password,phone,currentsalary,desiredsalary,textareastuff;
           String selectedname;
        private         JTabbedPane tabbedPane;
        private DefaultListModel listModel,listModel2;
       private ListSelectionModel listSelectionModel;
        JList ApplicantList, ApplicantSkillsList, IndustrySkillsList;
        protected JTextArea NotesList;    
        Label ApplicantListLabel, NotesListLabel, ApplicantSkillsLabel,
                                IndustrySkillsLabel;                
                Vector details = new Vector();
            public static void main(String []args)
                Employment f = new Employment();
                f.setVisible(true);
                f.setDefaultCloseOperation(EXIT_ON_CLOSE);
                f.setResizable(false);
            }//end of main
                public Employment()
                        setSize(800,475);
                        setTitle("E-commerce Placement Agency");
                        JPanel topPanel = new JPanel();
                        topPanel.setLayout( new BorderLayout() );
                        getContentPane().add( topPanel );
                        createPage1();
                        createPage2();
                        createPage3();
                        createPage4();
                        tabbedPane = new JTabbedPane();
                        tabbedPane.addTab( "Applicant", panel1 );
                        tabbedPane.addTab( "Job Order", panel2 );
                        tabbedPane.addTab( "Skill", panel3 );
                        tabbedPane.addTab( "Company", panel4 );
                        topPanel.add( tabbedPane, BorderLayout.CENTER );
        public void createPage1()//PAGE 1
                                panel1 = new JPanel();
                                panel1.setLayout( new BorderLayout());
                                jpApplicant= new JPanel();
                        jpApplicant.setLayout(new BorderLayout());
                        Font bigFont = new Font("TimesRoman", Font.BOLD,24);
                        jlblApplicantForm = new JLabel("\t\t\t\tAPPLICANT FORM  ");
                        jlblApplicantForm.setFont(bigFont);
                        jpApplicant.add(jlblApplicantForm,BorderLayout.EAST);
                        panel1.add(jpApplicant,BorderLayout.NORTH);
       /*****************************************WEST*********************************/             
                        jpWEST = new JPanel();                 
                        jpWEST.setLayout( new BorderLayout());
                        //Applicant List
                              listModel2=new DefaultListModel();
                              ApplicantList = new JList(listModel2);
                            listSelectionModel = ApplicantList.getSelectionModel();
                            listSelectionModel.addListSelectionListener(new SharedListSelectionHandler());
                            JScrollPane scrollPane3 = new JScrollPane(ApplicantList);
                        ApplicantListLabel = new Label( "Applicant List:");
                        jpWEST.add(ApplicantListLabel,"North"); 
                        jpWEST.add(scrollPane3,"Center");
                        panel1.add(jpWEST,BorderLayout.WEST);
                        /*********CENTRE*********/
                        jpCENTRE = new JPanel();
                        jpCENTRE.setLayout(new GridLayout(2,1));
                        jpCentreTOP = new JPanel();
                        panel1.add(jpCENTRE,BorderLayout.CENTER);
                        jpCENTRE.add(jpCentreTOP);
                        jpCentreTOP.setLayout(new GridLayout(6,2));
                        jlblName = new JLabel( "Name:");
                        jlblBlank1 = new JLabel ("");
                        jtfName = new JTextField(18);
                        jlblBlank2 = new JLabel("");
                        jlblPhone = new JLabel("Phone:");
                        jlblCurrentSalary = new JLabel("Current Salary:");
                        jtfPhone = new JTextField(13);
                        jtfCurrentSalary = new JTextField(7);
                        jlblPassword = new JLabel("Password:");
                        jlblDesiredSalary = new JLabel("Desired Salary:");
                        jtfPassword = new JTextField(13);
                        jtfDesiredSalary = new JTextField(6);
                        jpCentreTOP.add(jlblName);
                        jpCentreTOP.add(jlblBlank1);
                        jpCentreTOP.add(jtfName);
                        jpCentreTOP.add(jlblBlank2);
                        jpCentreTOP.add(jlblPhone);
                        jpCentreTOP.add(jlblCurrentSalary);
                        jpCentreTOP.add(jtfPhone);
                        jpCentreTOP.add(jtfCurrentSalary);
                        jpCentreTOP.add(jlblPassword);
                        jpCentreTOP.add(jlblDesiredSalary);
                        jpCentreTOP.add(jtfPassword);
                        jpCentreTOP.add(jtfDesiredSalary);
                        //Noteslist
                        jpCentreBOT = new JPanel();
                        jpCentreBOT.setLayout( new BorderLayout());
                        jpCENTRE.add(jpCentreBOT);
                        jpBlank1 = new JPanel();
                           JTextArea Noteslist=new JTextArea();
                        JScrollPane scroll3=new JScrollPane(Noteslist);
                            scroll3.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                            scroll3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                          //scroll3.setSize(new Dimension(1,1));
                        NotesListLabel = new Label( "Notes:");
                        jpCentreBOT.add(NotesListLabel,"North"); 
                        jpCentreBOT.add(scroll3,"Center");
                        jpCentreBOT.add(jpBlank1,"South");
                        panel1.add(jpCENTRE,BorderLayout.CENTER);
                        /**********EAST**********/
                        //Applicant Skills Panel
                        //EAST ==> TOP
                        jpEAST = new JPanel();
                        jpEAST.setLayout( new BorderLayout());
                        jpEastTOP = new JPanel();
                        jpEastTOP.setLayout( new BorderLayout());
                        listModel = new DefaultListModel();
                        ApplicantSkillsList = new JList(listModel);
                        ApplicantSkillsLabel = new Label( "Applicant Skills");
                       // JScrollPane scrollPane1 = new JScrollPane(ApplicantSkillsList,
                       //                                                   JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                        JScrollPane scrollPane1 = new JScrollPane(ApplicantSkillsList);
                           scrollPane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                          scrollPane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);                                             
                        ApplicantSkillsList.setVisibleRowCount(6);
                        jpEastTOP.add(ApplicantSkillsLabel,"North"); 
//                        ApplicantSkillsList.addItemListener(new selectNameListener());
                        jpEastTOP.add(scrollPane1,"Center");
                        jpEAST.add(jpEastTOP,BorderLayout.NORTH);
                        panel1.add(jpEAST,BorderLayout.EAST);
                        //Add & Remove Buttons
                        //EAST ==> CENTRE
                        jpEastCENTRE = new JPanel();
                        jpEAST.add(jpEastCENTRE,BorderLayout.CENTER);
                        jbtnAdd2 = new JButton("Add");
                        jbtnRemove = new JButton("Remove");
                        //add buttons to panel
                        jpEastCENTRE.add(jbtnAdd2);
                        jpEastCENTRE.add(jbtnRemove);
                        //add listener to button
                       jbtnAdd2.addActionListener(new Add2Listener());
                       jbtnRemove.addActionListener(new RemoveListener());
                        //Industry Skills Panel
                        //EAST ==> BOTTOM
                        jpEastBOT = new JPanel();
                        jpEastBOT.setLayout( new BorderLayout());
                       String[] data = {"Access97", "Basic Programming",
                       "C++ Programming", "COBOL Programming",
                       "DB Design", "Fortran programming"};
                       IndustrySkillsList = new JList(data);
                       JScrollPane scrollPane = new JScrollPane(IndustrySkillsList);
                       scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                       scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                       IndustrySkillsLabel = new Label( "Industry Skills:");
                       jpEastBOT.add(IndustrySkillsLabel,"North"); 
                       jpEastBOT.add(scrollPane,"Center");
                       jpEAST.add(jpEastBOT,BorderLayout.SOUTH);
                        //BOTTOM
                        jpAddEditDelete= new JPanel();
                        jbtnAdd1=       new JButton("Add");
                        jbtnEdit=       new JButton("Edit");
                        jbtnDelete=     new JButton("Delete");
                        jbtnSave=       new JButton("Save");
                        jbtnCancel=     new JButton("Cancel");
                        jpAddEditDelete.add(jbtnAdd1);
                        jpAddEditDelete.add(jbtnEdit);
                        jpAddEditDelete.add(jbtnDelete);
                        jpAddEditDelete.add(jbtnSave);
                        jpAddEditDelete.add(jbtnCancel);
                       //jbtnEdit.addActionListener(new EditListener());
                        jbtnAdd1.addActionListener(new Add1Listener());
                        jbtnCancel.addActionListener(new CancelListener());
                        panel1.add(jpAddEditDelete,BorderLayout.SOUTH);
        public void createPage2()//PAGE 2
                panel2 = new JPanel();
                panel2.setLayout( new GridLayout(1,1) );
                panel2.add( new JLabel( "Sorry,under construction" ) );
        public void createPage3()//PAGE 3
                panel3 = new JPanel();
                panel3.setLayout( new GridLayout( 1, 1 ) );
                panel3.add( new JLabel( "Sorry,under construction" ) );
        public void createPage4()//PAGE 4
                panel4 = new JPanel();
                panel4.setLayout( new GridLayout( 1, 1 ) );
                panel4.add( new JLabel( "Sorry,under construction" ) );
        public class Add1Listener implements ActionListener
        public void actionPerformed(ActionEvent e)
                //String name,password,phone,currentsalary,desiredsalary,textareastuff;
                name = jtfName.getText();
                password = jtfPassword.getText();
                phone = jtfPhone.getText();
                currentsalary = jtfCurrentSalary.getText();
                int i= Integer.parseInt(currentsalary);
                desiredsalary = jtfDesiredSalary.getText();
                int j= Integer.parseInt(desiredsalary);
                   StoringData person = new StoringData(name,password,phone,i,j);
                //textareastuff = NotesList.getText();
                details.add(person);
              listModel2.addElement(name);
                jtfName.setText("");
                jtfPassword.setText("");
                jtfPhone.setText("");
                jtfCurrentSalary.setText("");
                jtfDesiredSalary.setText("");
              //  NotesList.setText("");
                // NotesList.append("");          
               // details.addElement(name);
        public class Add2Listener implements ActionListener
                public void actionPerformed(ActionEvent e)
                       String temp1;
                       temp1 = (String)IndustrySkillsList.getSelectedValue();
                       listModel.addElement(temp1);
        public class RemoveListener implements ActionListener
                public void actionPerformed(ActionEvent e)
                        int index = ApplicantSkillsList.getSelectedIndex();
                  listModel.remove(index);
        public class EditListener implements ActionListener
                public void actionPerformed(ActionEvent e)
        public class DeleteListener implements ActionListener
                public void actionPerformed(ActionEvent e)
        public class SaveListener implements ActionListener
                public void actionPerformed(ActionEvent e)
        public class CancelListener implements ActionListener
                public void actionPerformed(ActionEvent e)
                jtfName.setText("");
                jtfPassword.setText("");
                jtfPhone.setText("");
                jtfCurrentSalary.setText("");
                jtfDesiredSalary.setText("");                         
        public class SharedListSelectionHandler implements ListSelectionListener
        public void valueChanged(ListSelectionEvent e)
         selectedname =ApplicantList.getSelectedValue().toString();
         StoringData selectedPerson = null;
          for (StoringData person : details)
            if (person.getName1().equals(selectedname))
                   selectedPerson = person;
                   break;
     if (selectedPerson != null)
  // set the relevant fields
           // ListSelectionModel lsm = (ListSelectionModel)e.getSource();
          //  System.out.println(selectedname);
          // for(selectedname==n)
          //     System.out.println(ApplicantList.getSelectedValue().toString());
          //     jtfName.setText(n);
    //int firstIndex = e.getFirstIndex();
            //int lastIndex = e.getLastIndex();
            //boolean isAdjusting = e.getValueIsAdjusting();
            /*if (lsm.isSelectionEmpty())
               System.out.println("hahahhaa");
            } else {
                // Find out which indexes are selected.
                /*int minIndex = lsm.getMinSelectionIndex();
                int maxIndex = lsm.getMaxSelectionIndex();
                /*for (int i = minIndex; i <= maxIndex; i++)
                   /* if (lsm.isSelectedIndex(i))
                       System.out.println("hohoho");
            System.out.println("haho");*/
}

Similar Messages

  • Need help with saving data and keeping table history for one BP

    Hi all
    I need help with this one ,
    Scenario:
    When adding a new vendor on the system the vendor is suppose to have a tax clearance certificate and it has an expiry date, so after the certificate has expired a new one is submitted by the vendor.
    So i need to know how to have SBO fullfil this requirement ?
    Hope it's clear .
    Thanks
    Bongani

    Hi
    I don't have a problem with the query that I know I've got to write , the problem is saving the tax clearance certificate and along side it , its the expiry date.
    I'm using South African localization.
    Thanks

  • Need help with a customized interactive web application for  apparel

    Help!!!!
    Hi I am a web designer at beginners stage with web
    devlopment. I am seeking guidance on how to develop a customized
    interactive web application so that the end user can change color
    and patterns of apparel on vector images such as teamsports
    uniforms and tshirts. Once the design is customized to their liking
    they can save it with all of the spec information in a file to
    there desktop or to a database to send to the manufacturer.
    Also looking for a possible way to use a CMS so I can upload
    templates of the garment easily for the end user to customize
    online. Can this be done and if so how? This is an example the kind
    of application I am looking for:
    http://www.dynamicteamsports.com/elite/placeorder.jsp
    I am in desperate need of some brilliant developer to help
    with this.
    Thanks in advance for anyone who is willing to assist or give
    me guidance,
    Danka
    "Reap what you sew"

    some parts of that are doable using non-advanced skills, but
    will be difficult and unwieldly if there are more than a few
    colors/patterns.
    saving the image to the server is a bit more advanced and
    you're going to need some server-side scripting like php, perl, asp
    etc. in addition to some flash programming ability.

  • I need help with shooting in my flash game for University

    Hi there
    Ive tried to make my tank in my game shoot, all the code that is there works but when i push space to shoot which is my shooting key it does not shoot I really need help with this and I would appriciate anyone that could help
    listed below should be the correct code
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    listed below is my entire code
    import flash.display.MovieClip;
        //declare varibles to create mines
    //how much time before allowed to shoot again
    var cTime:int = 0;
    //the time it has to reach in order to be allowed to shoot (in frames)
    var cLimit:int = 12;
    //whether or not the user is allowed to shoot
    var shootAllow:Boolean = true;
    var minesInGame:uint;
    var mineMaker:Timer;
    var cursor:MovieClip;
    var index:int=0;
    var tankMine_mc:MovieClip;
    var antiTankmine_mc:MovieClip;
    var maxHP:int = 100;
    var currentHP:int = maxHP;
    var percentHP:Number = currentHP / maxHP;
    function initialiseMine():void
        minesInGame = 15;
        //create a timer fires every second
        mineMaker = new Timer(6000, minesInGame);
        //tell timer to listen for Timer event
        mineMaker.addEventListener(TimerEvent.TIMER, createMine);
        //start the timer
        mineMaker.start();
    function createMine(event:TimerEvent):void
    //var tankMine_mc:MovieClip;
    //create a new instance of tankMine
    tankMine_mc = new Mine();
    //set the x and y axis
    tankMine_mc.y = 513;
    tankMine_mc.x = 1080;
    // adds mines to stage
    addChild(tankMine_mc);
    tankMine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal(evt:Event):void{
        evt.target.x -= Math.random()*5;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseMine();
        //declare varibles to create mines
    var atmInGame:uint;
    var atmMaker:Timer;
    function initialiseAtm():void
        atmInGame = 15;
        //create a timer fires every second
        atmMaker = new Timer(8000, minesInGame);
        //tell timer to listen for Timer event
        atmMaker.addEventListener(TimerEvent.TIMER, createAtm);
        //start the timer
        atmMaker.start();
    function createAtm(event:TimerEvent):void
    //var antiTankmine_mc
    //create a new instance of tankMine
    antiTankmine_mc = new Atm();
    //set the x and y axis
    antiTankmine_mc.y = 473;
    antiTankmine_mc.x = 1080;
    // adds mines to stage
    addChild(antiTankmine_mc);
    antiTankmine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal_2(evt:Event):void{
        evt.target.x -= Math.random()*10;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseAtm();
    function moveForward():void{
        bg_mc.x -=10;
    function moveBackward():void{
        bg_mc.x +=10;
    var tank_mc:Tank;
    // create a new Tank and put it into the variable
    // tank_mc
    tank_mc= new Tank;
    // set the location ( x and y) of tank_mc
    tank_mc.x=0;
    tank_mc.y=375;
    // show the tank_mc on the stage.
    addChild(tank_mc);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onMovementKeys);
    //creates the movement
    function onMovementKeys(evt:KeyboardEvent):void
        //makes the tank move by 10 pixels right
        if (evt.keyCode==Keyboard.D)
        tank_mc.x+=5;
    //makes the tank move by 10 pixels left
    if (evt.keyCode==Keyboard.A)
    tank_mc.x-=5
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    if (tank_mc.hitTestObject(antiTankmine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(antiTankmine_mc);
    if (tank_mc.hitTestObject(tankMine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(tankMine_mc);
        //var maxHP:int = 100;
    //var currentHP:int = maxHP;
    //var percentHP:Number = currentHP / maxHP;
        //Incrementing the cTime
    //checking if cTime has reached the limit yet
    if(cTime < cLimit){
        cTime ++;
    } else {
        //if it has, then allow the user to shoot
        shootAllow = true;
        //and reset cTime
        cTime = 0;
    function updateHealthBar():void
        percentHP = currentHP / maxHP;
        healthBar.barColor.scaleX = percentHP;
        if(currentHP <= 0)
            currentHP = 0;
            trace("Game Over");
        updateHealthBar();

    USe the trace function to analyze what happens and what fails to happen in the code you showed.  trace the conditional values to see if they are set up to allow a shot when you press the key

  • Need help with buying graphics card and ram for MSI 865PE NEO 2-V

    Hi,
    I want to buy 1GB of ram for motherboard MSI 865PE NEO 2-V I need help with finding correct parts.
    I also want to buy 512Mb or 1GB graphics card.
    as i said before i need help with finding correct ones so they match motherboard, I would appreciate if any one would post link to cheap and fitting parts.
    I found graphics card allready, i just need to know if it will fit.
    the card is
    NVIDIA GeForce 7600 GS (512 MB) AGP Graphics Card
    Thanks for help.

    here you can see test reports for your mobo:
    http://www.msi.com/product/mb/865PE-Neo2-V.html#?div=TestReport

  • I need help with re installing my apple account for itunes.

    Had problems with my itune account, so I uninstalled and now need help with re-installing the program with the songs I have already purchased.

    Your iTunes account is something at the iTunes Store online.  It is not possible to uninstall it.  Do you mean the iTunes application?  Even if you delete the application and restore it, it should not have deleted your iTunes library (essentially the contents of the iTunes folder in Music) on your computer unless you did a separate steep and specifically deleted that too.  You need to tell us what it was you deleted.

  • Help with if statement in cursor and for loop to get output

    I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
    I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
    Here is my cursor:
    /*Cursor for Email procedure. It is working Shows userid and the string
    You need to update these folders*/
    DECLARE
    a_user varchar2(200) := null;
    v_assigneduser varchar2(20);
    v_folderrsn varchar2(200);
    v_emailaddress varchar2(60);
    v_subject varchar2(200);
    Cursor c IS
    SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
    MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
    trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
    --MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
    FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
    WHERE f.foldertype = 'HJ'
    AND f.statuscode NOT IN (20, 40)
    AND f.folderrsn = fp.folderrsn
    AND fp.processrsn = fpa.processrsn
    AND vu.userid = fp.assigneduser
    AND vu.statuscode = 1
    GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
    ORDER BY fp.assigneduser;
    BEGIN
    FOR c1 IN c LOOP
    IF (c1.assigneduser = v_assigneduser) THEN
    dbms_output.put_line(' ' || c1.folderrsn);
    else
    dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
    END IF;
    a_user := c1.assigneduser;
    v_assigneduser := c1.assigneduser;
    v_folderrsn := c1.folderrsn;
    v_emailaddress := c1.emailaddress;
    v_subject := 'Subject: Project for';
    END LOOP;
    END;
    The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
    emailaddress
    Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
    v_folderrsn
    v_folderrsn
    etc
    [email protected]......
    Subject: 'Project for: ' Jim...'not updated in the last 30 days'
    284087
    292709
    [email protected].....
    Subject: 'Project for: ' Kim...'not updated in the last 30 days'
    185083
    190121
    190132
    190133
    190159
    190237
    284109
    286647
    294631
    322922
    [email protected]....
    Subject: 'Project for: Joe...'not updated in the last 30 days'
    183332
    183336
    [email protected]......
    Subject: 'Project for: Sam...'not updated in the last 30 days'
    183876
    183877
    183879
    183880
    183881
    183882
    183883
    183884
    183886
    183887
    183888
    This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
    Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
    JIM.........      jim@ aol.com.... 284087.............     9/28/2006.......10/5/2006...........690
    JIM.........      jim@ aol.com.... 292709.............     3/20/2007.......3/28/2007............516
    KIM.........      kim@ aol.com.... 185083.............     8/31/2004.......2/9/2006.............     928
    KIM...........kim@ aol.com.... 190121.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190132.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190133.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190159.............     2/13/2006.......2/14/2006............923
    KIM...........kim@ aol.com.... 190237.............     2/23/2006.......2/23/2006............914
    KIM...........kim@ aol.com.... 284109.............     9/28/2006.......9/28/2006............697
    KIM...........kim@ aol.com.... 286647.............     11/7/2006.......12/5/2006............629
    KIM...........kim@ aol.com.... 294631.............     4/2/2007.........3/4/2008.............174
    KIM...........kim@ aol.com.... 322922.............     7/29/2008.......7/29/2008............27
    JOE...........joe@ aol.com.... 183332.............     1/28/2004.......4/23/2004............1585
    JOE...........joe@ aol.com.... 183336.............     1/28/2004.......3/9/2004.............1630
    SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............     1631
    PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............     48
    PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
    NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
    NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
    NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
    NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
    NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
    NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
    NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
    NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
    NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............     175
    NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
    NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
    NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
    NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
    NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
    NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
    MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
    [email protected]/27/2004.......3/8/2004............1631
    How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
    Edited by: user4653174 on Aug 25, 2008 2:40 PM

    analytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
    CASE
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
    Incorporating either of these into your query should assist you in returning the desired results.

  • Hi, I need help with the dates of plugins added to my browser

    Hi I need to know what date a plugin was installed on my browser.
    openh264 / video codec provided by cisco systems.
    If you can't help, please point me in the direction of someone who can?
    Any help greatly appreciated.

    The new "OpenH264 Video Codec provided by Cisco Systems, Inc." plugin that now shows up in the Firefox Add-ons Manager Plugins list was added in Firefox 33.0. It's installed in a subfolder of your [[Profiles|Firefox profile folder]], which you can confirm by typing '''about:plugins''' in the Firefox address bar to bring up a list of installed plugins (details [http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins here]) and checking its "Path" entry .
    The first link in the [https://www.mozilla.org/en-US/firefox/33.0/releasenotes/ Firefox 33.0 release notes] under What’s New, has this:
    '''New''' | [http://andreasgal.com/2014/10/14/openh264-now-in-firefox/ OpenH264 support] * (sandboxed)
    [*] Quoted from the linked page, http://andreasgal.com/2014/10/14/openh264-now-in-firefox/
    (which also includes a [https://andreasgal.files.wordpress.com/2014/10/openh264.jpg screenshot] of the Add-ons Manager entry):
    <blockquote>Today in collaboration with Cisco we are shipping support for H.264 in our WebRTC implementation. </blockquote>
    <blockquote>Cisco has agreed to distribute OpenH264, a free H.264 codec plugin that Firefox downloads directly from Cisco.</blockquote>
    <blockquote> Note: Firefox currently uses OpenH264 only for WebRTC and not for the <nowiki><video></nowiki> tag, because OpenH264 does not yet support the high profile format frequently used for streaming video. We will reconsider this once support has been added. </blockquote>
    See also:
    *https://wiki.mozilla.org/Media/WebRTC
    *https://wiki.mozilla.org/GeckoMediaPlugins

  • I need help with retrieving my security questions

    Hi i need help please!! Im desperate!!
    Everytime i log on apple and try to change my security questions. It takes me back to the log in page as soon as i press on password and security tab and i get this message ( an unknown error has occured ) i really dont know what to do i am not able to buy anything on app store because everytime i try to purchase it asks for my security questions which i have forgotten... I live in egypt btw. And i almost exceeded my security questions attempts :S.
    Help would be much appreciated thank you ;)

    Read this about how to change the security questions: http://support.apple.com/kb/HT5312
    If you can't use these procedures contact Apple. See http://support.apple.com/kb/HT5699
    You can also call your country number from http://support.apple.com/kb/HE57 and ask to speak with Account Security.
    You can also go to the ExpressLane at https://expresslane.apple.com and then iTunes > iTunes Store > Password and Security Questions and fill out the form.

  • Need help with enhanced data source in Production system

    Hello Gurus,
    1.                  I enhanced a datasource in BW and populated the field using customer exit using CMOD function. In Dev system, i dont have much data, so I deleted the whole data and did full load.
    what shud I do in Production side, so that Delta wudnt be affected??since in production, we have millions of records, we wont do full load., what is the best way to populate the field in production after transporting the datasource to production without disturbing delta's, to reflect the new field for previous years data???
    2.  can we put 0customer and 0material in the same dimension?? how its going to affect the performance?
    Thanks in advance.,
    Best Regards,
    Pavan

    Hi,
    Please see this
    1.
    see this thread
    populated the new field with historic data
    2. can we put 0customer and 0material in the same dimension?? how its going to affect the performance?
    Its better not to use them in a single dimension  because one customer and take more than one material so if you have 100 customer and 1000 materials  this combination will generate a large number of records. Its always better to keep characteristic which are having 1:N relation ship in one dimensional in you  case customer and material will have an M:N type of relationship.which will result in slow performance.
    Regards,
    Ravi

  • Need help with Rollback data if there is error in Data load

    Hi All,
    We are trying to load data to Oracle 11g database. We want a trigger, procedure or something like that to rollback the data if there are errors in load. Is it possible to do rollback after all the records has been parsed ? So if we try to load 100 records and if there are 30 records with error, we want to rollback after all the 100 records are parsed.
    Please advice.

    >
    Thanks for the suggestion. I'll try that option. So currently we are only loading data that is validated and erroneous records are rejected using trigger. So we don't get any invalid data in table. But Now users are saying that all the records should be rejected if there is even one error in the data load.
    >
    I generally use a much simpler solution for such multi-stage ETL processes.
    Each table has a IS_VALID column that defaults to 'N'. Each step of the process only pulls data with the flag set to 'Y'.
    That allows me to leave data in the table but guarantee that it won't be processed by subsequent stages. Since most queries that move data from one stage to another ultimately have to read table rows (i.e. they can't just use indexes) it is not a performance issue to add a predicate such as "'AND IS_VALID = 'Y'" to the query that accesses data.
    1. add new unvalidated data - automatically flagged an invalid by default of 'N" on IS_VALID column
    2. run audit step #1 - capture the primary key/rowid of any row failing the audit.
    3. run audit steps #2 through #n - capture error row ids
    4. Final step - update the data setting IS_VALID to 'Y' only if a row passes ALL audits: that is, only if there are NO fatal errors for that row captured in the error table.
    That process also allows me to capture every single problem that any row has so that I can produce reports for the business users that show everything that is wrong with the data. There are some problems that the business wan't to ignore, others that can be fixed in the staging tables then reprocessed and others that are rejected since they must be fixed in the source system and that can take several days.
    For data that can be fixed in the staging tables the data is fixed and then the audit is rerun which will set the IS_VALID flag to 'Y' allowing those 'fixed' rows to be included in the data that feeds the next processing stage.

  • Need help in retrieving attributes from LDAP using JNDI

    I am trying to retrieve attributes from LDAP using JNDI, but I'm getting the following error when I try to run my Java program.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/NamingException
    I have all the jar files in my classpath: j2ee.jar, fscontext.jar and providerutil.jar. The interesting thing is that it gets compiled just fine but gives an error at run-time.
    Could anyone tell me why I'm getting this error? Thanks!
    Here's my code:
    import javax.naming.*;
    import javax.naming.directory.*;
    import java.util.*;
    import java.io.*;
    class Getattr {
    public static void main(String[] args) {     
    // Identify service provider to use     
    Hashtable env = new Hashtable(11);     
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");      
    // user     info
    String userName = "username";     
    String password = "password";          
    // LDAP server specific information     
    String host = "ldaphostname";     
    String port = "portnumber";     
    String basedn = "o=organization,c=country";     
    String userdn = "cn=" + userName + "," + basedn;          
    env.put(Context.PROVIDER_URL, "ldap://" + host + ":" + port + "/" + basedn);     
    env.put(Context.SECURITY_PRINCIPAL, userdn);     
    env.put(Context.SECURITY_CREDENTIALS, password);     
    try {          
    System.setErr(new PrintStream(new FileOutputStream(new File("data.txt"))));     
    // Create the initial directory context     
    DirContext ctx = new InitialDirContext(env);          
    // Ask for all attributes of the object      
    Attributes attrs = ctx.getAttributes("cn=" + userName);          
    NamingEnumeration ne = attrs.getAll();                    
    while(ne.hasMore()){                         
    Attribute attr = (Attribute) ne.next();                                   
    if(attr.size() > 1){               
    for(Enumeration e = attr.getAll(); e.hasMoreElements() ;) {                                       
    System.err.println(attr.getID() + ": " + e.nextElement());                     
    } else {
         System.err.println(attr.getID() + ": " + attr.get());
    // Close the context when we're done     
    ctx.close();     
    } catch(javax.naming.NamingException ne) {
         System.err.println("Naming Exception: " + ne);     
    } catch(IOException ioe) {
         System.err.println("IO Exception: " + ioe);     

    That doesn't work either. It seems its not finding the NamingException class in any of the jar files. I don't know why? Any clues?

  • Need help with Services (email from finder using unibox)

    I have scoured the discussions and googled to find a solution to my problem and have had zero luck.
    Basically I want to be able to right-click on a file in finder and go to services and choose Unibox (my default email app) to send the file. I remember being able to do that using one of the other apps I used to use for email, but have been unsuccessful finding the steps to creating the service.
    Any and all help to create that context menu option is appreciated.

    Mail/Preferences/General - do you have Unibox set as your default e-mail application?

  • Need Help regarding which Material Type to use for the Scenario

    Hi,
    Here we are configuring the service scenario.
    Suppose Electric Switch of customer flat is not working.
    Here in this case I will purchase the switch. And along with service order
    I will do the delivery of the Material. Then will raise the Invoice to the customer
    with service charge as well as material cost.
    Here I will have to run the MRP also for that material  to raise the PR if stock goes below
    the reorder point.
    So I will have to maintain the Purchase view, Sales View & MRP view to that Material.
    So in this case which standard material Type can I use for this material? Or I have to create
    our own material Type for this material.
    Regards,
    Pradip

    ROH is usually a material type that is supposed to be consumed in production.
    HALB is a semifinished good, own produced and meant to consumed in production.
    Both are usually not forseen to be sold.
    A material that you buy yourself and sell to a customer is a trading good, which is HAWA in SAP.

  • Need help in retrieving data from database table

    Hi ,
    I have a Ztable with primary key.The table gets automatically sorted on primary key
    But I want to retrieve the ztable data in the order in which i enter data in to table.
    EXAMPLE :
    I enter data as : mydata
                            action
                            welcome
    When i retrieve this data  internal table should be filled in the same order.
    Your inputs will be very helpful.
    Thanks in advance.

    You will need to change your table to use a number as the first key field (after the client) which you increase by 1 each time you make a new entry.  Alternatively you can add a data/time stamp to the end of your table and use this to sort your internal table once you've extracted the records.
    Regards,
    Nick

Maybe you are looking for

  • USB Mouse Left Click not working, DV6700

    I have been using 2 hands to operate the simplist functions on my laptop. I move the mouse around with my right hand but if I want to click something I have to use the left button under the mouse-pad. HP support gave me a solution that worked for abo

  • Reg Query designer - Urgent

    Hello all, In the Query designer we have a structure in which I would like to edit one of the K.F . For example the K.F is a Formula K.f which is built on Fiscal year & Amount Now I've to include version to this K.F. Please let me know how this can b

  • Can we call java jar from ODI?

    Hi All, Can we call java jar from ODI? if yes please suggest how? Regards, Satish

  • Create Forum in the Portal

    Hi, I want To create a Forum in our EP.60, is there any documentation? Does somebody knows how to use the Collaboration for this purpose

  • Where are temp files for Photoshop CS4? Is there any way to recover from themM?

    Hi. My Mac crashed with all my work. I forgot to do Cmd S and now I lost 2 days worth of work in Photoshop CS4. Any chance the work is still in temp files? If yes, is there any way to recover files from them? Best, Caldvin