One error i cant seem to figure out

theres one error i can't figure out. its on line 369. i want to set my JTextArea to be blank but the error is:
cannot find symbol variable NotesList
i'll post my codes here and will be very grateful if somebody could help me out. thanks .
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,jpBottomArea,
                                   jpEmptyPanelForDisplayPurposes;
        private JLabel jlblApplicantForm, jlblAppList, jlblName, jlblPhone,
                                   jlblCurrentSalary, jlblPassword, jlblDesiredSalary,
                                   jlblNotes, jlblApplicantSkills, jlblIndustrySkills,
                                   jlblBlank1, jlblBlank2, ApplicantListLabel,
                                   NotesListLabel, ApplicantSkillsLabel,
                                   IndustrySkillsLabel,jlblEmptyLabelForDisplayPurposes;  
        private JButton jbtnAdd1, jbtnEdit, jbtnDelete, jbtnSave, jbtnCancel,
                                        jbtnAdd2, jbtnRemove;
        private JTextField jtfName, jtfPhone, jtfCurrentSalary, jtfPassword,
                                           jtfDesiredSalary;
          private JTabbedPane tabbedPane;
        private DefaultListModel /*listModel,*/listModel2;
          String name,password,phone,currentsalary,desiredsalary,textareastuff,allthetext;
          String selectedname;
        final JTextArea Noteslist= new JTextArea();;
        DefaultListModel listModel = new DefaultListModel();
        JList ApplicantSkillsList = new JList(listModel);
       private ListSelectionModel listSelectionModel;
        JList ApplicantList, /*ApplicantSkillsList,*/ IndustrySkillsList;
        //protected JTextArea NotesList;    
                //Vector details = new Vector();
              Vector<StoringData> details = new Vector<StoringData>();             
            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,470);
                        setTitle("E-commerce Placement Agency");
                              Font listfonts = new Font("TimesRoman", Font.BOLD, 12);
                        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
             /*******************TOP PART********************/
                        panel1 = new JPanel();
                        panel1.setLayout( new BorderLayout());
                              jpBottomArea = new JPanel();
                              jpBottomArea.setLayout(new BorderLayout());
                        jpApplicant= new JPanel();
                        jpApplicant.setLayout(new BorderLayout());
                        Font bigFont = new Font("TimesRoman", Font.BOLD,24);
                        jpApplicant.setBackground(Color.lightGray);
                        jlblApplicantForm = new JLabel("\t\t\t\tAPPLICANT FORM  ");
                        jlblApplicantForm.setFont(bigFont);
                        jpApplicant.add(jlblApplicantForm,BorderLayout.EAST);
                        panel1.add(jpApplicant,BorderLayout.NORTH);
                        panel1.add(jpBottomArea,BorderLayout.CENTER);
       /********************************EMPTY PANEL FOR DISPLAY PURPOSES*************************/
                           jpEmptyPanelForDisplayPurposes = new JPanel();
                           jlblEmptyLabelForDisplayPurposes = new JLabel(" ");
                           jpEmptyPanelForDisplayPurposes.add(jlblEmptyLabelForDisplayPurposes);
                           jpBottomArea.add(jpEmptyPanelForDisplayPurposes,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);
                              ApplicantList.setPreferredSize(new Dimension(20,40));
                             scrollPane3.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);                                             
                            scrollPane3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                        ApplicantListLabel = new JLabel( "Applicant List:");
                        jpWEST.add(ApplicantListLabel,"North"); 
                        jpWEST.add(scrollPane3,"Center");
                        jpBottomArea.add(jpWEST,BorderLayout.WEST);
                        /*********CENTRE*********/
                        jpCENTRE = new JPanel();
                        jpCENTRE.setLayout(new GridLayout(2,1));
                        jpCentreTOP = new JPanel();
                        jpBottomArea.add(jpCENTRE,BorderLayout.CENTER);
                        jpCENTRE.add(jpCentreTOP);
                        jpCentreTOP.setLayout(new GridLayout(6,2));
                          //Creating labels and textfields
                        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);
                          //Add labels and textfields to panel
                        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();
                         //     Noteslist = new JTextArea(/*Document doc*/);
                        JScrollPane scroll3=new JScrollPane(Noteslist);
                            scroll3.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                            scroll3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                        NotesListLabel = new JLabel( "Notes:");
                        jpCentreBOT.add(NotesListLabel,"North"); 
                        jpCentreBOT.add(scroll3,"Center");
                        jpCentreBOT.add(jpBlank1,"South");
                        jpBottomArea.add(jpCENTRE,BorderLayout.CENTER);
                        /**********EAST**********/
                        //Applicant Skills Panel
                        //EAST ==> TOP
                        jpEAST = new JPanel();
                        jpEAST.setLayout( new BorderLayout());
                        jpEastTOP = new JPanel();
                        jpEastTOP.setLayout( new BorderLayout());
                        ApplicantSkillsLabel = new JLabel( "Applicant Skills");
                        JScrollPane scrollPane1 = new JScrollPane(ApplicantSkillsList);
                           scrollPane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);                                             
                          scrollPane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);                                             
                        ApplicantSkillsList.setVisibleRowCount(6);
                        jpEastTOP.add(ApplicantSkillsLabel,"North"); 
                        jpEastTOP.add(scrollPane1,"Center");
                        jpEAST.add(jpEastTOP,BorderLayout.NORTH);
                        jpBottomArea.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 JLabel( "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());
                           jbtnDelete.addActionListener(new DeleteListener());
                            jbtnEdit.addActionListener(new EditListener());
                        jbtnAdd1.addActionListener(new Add1Listener());
                        jbtnCancel.addActionListener(new CancelListener());
                        jpBottomArea.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)
                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);
                   allthetext = Noteslist.getText();
                   StoringData person = new StoringData(name,password,phone,allthetext,i,j);
               //     StoringData AppSkillsList = new StoringData(listModel);
                details.add(person);
             //     details.add(AppSkillsList);
              listModel2.addElement(name);
                jtfName.setText("");
                jtfPassword.setText("");
                jtfPhone.setText("");
                jtfCurrentSalary.setText("");
                jtfDesiredSalary.setText("");
                NotesList.setText("");
        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)
                        jtfName.setEditable(true);
                        jtfPassword.setEditable(true);
                        jtfPhone.setEditable(true);
                        jtfCurrentSalary.setEditable(true);
                        jtfDesiredSalary.setEditable(true);
                        Noteslist.setEditable(true);
                        jbtnAdd2.setEnabled(true);               
                        jbtnRemove.setEnabled(true);
                        jbtnSave.setEnabled(true);
                        jbtnCancel.setEnabled(true);                     
        public class DeleteListener implements ActionListener
                public void actionPerformed(ActionEvent e)
                    int index1 = ApplicantList.getSelectedIndex();
                        listModel2.remove(index1);
        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;
         jtfName.setEditable(false);
         jtfPassword.setEditable(false);
         jtfPhone.setEditable(false);
         jtfCurrentSalary.setEditable(false);
         jtfDesiredSalary.setEditable(false);                                 
         Noteslist.setEditable(false);
         jbtnAdd2.setEnabled(false);               
         jbtnRemove.setEnabled(false);
         jbtnSave.setEnabled(false);
         jbtnCancel.setEnabled(false);
               for (StoringData person : details)
                      if (person.getName1().equals(selectedname))
                             selectedPerson = person;
                             jtfName.setText(person.getName1());
                             jtfPassword.setText(person.getPassword1());
                          jtfPhone.setText(person.getPhone1());
                          Noteslist.setText(person.getAllTheText1());
                          //String sal1 = Integer.parseString(currentsalary);
                         // String sal2 = Integer.parseString(desiredsalary);
                         // jtfCurrentSalary.setText(sal1);
                         // jtfDesiredSalary.setText(sal2);
                             break;
               //     if (selectedPerson != null)
}

other file for storage data is:
//StoringData class
class StoringData{
private String name;
private String password;
private String phone;
private String allthetext;
private int currentsalary;
private int desiredsalary;
public StoringData()
  name = null;
  password = null;
  phone = null;
  allthetext = null;
  currentsalary = 0;
  desiredsalary = 0;
public StoringData(String n,String pw, String p,String a, int c, int d)
  name = n;
  password = pw;
  phone = p;
  currentsalary = c;
  desiredsalary = d;
  allthetext = a;
public String getName1()
  return name;
public String getPassword1()
  return password;
public String getPhone1()
  return phone;
public String getAllTheText1()
     return allthetext;
public int getCurrentSalary1()
  return currentsalary;
public int getdesiredsalary1()
  return desiredsalary;
}

Similar Messages

  • Flash issue I cant seem to figure out. Please help.

    I cant seem to play embeded videos, youtube, vimeo or even bandcamp. When I go to youtube for an example, the video will take a while to load, along with the "suggested" videos in the right pane. While its loading I am unable to click out of the window or even to another tab. Once the video starts to play there is zero audio. This happens on all sites mentioned above. As of right now the only solution is to restart the computer which to me is an uneccesary solution.
    Ive uninstalled and re-installed Flash 11.7 three or four times now. This will happen randomly too. I was able to use youtube earlier today.
    Im running Windows 7 64, AMD as well as firefox everything is up to date as far as drivers etc. Any help would be awesome.
    Thank you

    This is my procedure
    create or replace
    PACKAGE BODY PKG_UPLOAD_BATCHES AS
    PROCEDURE USP_BATCHES_INSERT(
    BATCH_SEQUENCE_ID IN NUMBER,
    STATUS IN VARCHAR2,
    PACKAGE_SEQUENCE_ID IN NUMBER,
    IS_ACTIVATED IN VARCHAR2,
    MODIFIED_BY NUMBER,
    MODIFIED_DATE IN DATE,
    resultset IN OUT SYS_REFCURSOR) AS
    BEGIN
    /* TODO implementation required */
    --select ICCIDS from (SYS.dbms_debug_vc2coll ICCID_LIST)
    EXECUTE IMMEDIATE
    'BEGIN
    FOR emp IN
    SELECT dbd_iccid
    FROM DEP_ICCID_TEMP
    WHERE commission_pct is not NULL
    LOOP
    BEGIN
    INSERT INTO DEP_BATCH_DETAILS(dbd_iccid,
    dbd_isactivated,
    dbd_modified_by,
    dbd_modified_on,
    dbd_status,
    dbh_seq,
    dpg_seq
    SELECT (emp.dbd_iccid,
    IS_ACTIVATED,
    MODIFIED_BY,
    MODIFIED_DATE,
    STATUS,
    BATCH_SEQUENCE_ID,
    PACKAGE_SEQUENCE_ID
    FROM dual
    WHERE NOT EXISTS (SELECT NULL
    FROM DEP_BATCH_DETAILS
    WHERE DEP_ICCID = emp.dbd_iccid
    END
    END LOOP;
    END; ';
    COMMIT;
    null;
    END USP_BATCHES_INSERT;
    END PKG_UPLOAD_BATCHES;
    Its used to check whether each column in one table(ICCID_TEMP) exists in another table(DEP_BATCH_DETAILS) if not the column data and some other parameters are entered into the 2nd table.
    The procedure compiled fine , I use sql devloper and dont know how to run it from there so i run the procedure from C# code
    Thanks in Advance

  • Need help with my batch code, cant seem to figure out the errors.

    Hello all, so as part of my job I have to check a list of shared drives on random servers throughout the world to make sure they are not open. I am trying to make a batch file to check them all at once instead of mapping to each one individually. It would
    save a lot of time. So far I got this code with the help of a member of
    reddit:
    @echo off
    :: Ensure Extensions are enabled to avoid silent failure
    setlocal EnableExtensions DisableDelayedExpansion
    set "Input-Server-List=H:\Desktop\serverlist.txt"
    set "Open-Share-List=H:\Desktop\open_shares.txt"
    set "Locked-Share-List=H:\Desktop\locked_shares.txt"
    :: Create empty files
    copy nul "%Open-Share-List%" 1>nul
    copy nul "%Locked-Share-List%" 1>nul
    :: Test the shares to see if they're online or not
    for /f "usebackq delims=" %%S in ("%Input-Server-List%") do @(
    pushd "%%~S" 2>nul && (
    popd
    1>> "%Open-Share-List%" echo %%~S
    echo ONLINE -- %%S
    ) || (
    1>> "%Locked-Share-List%" echo %%~S
    echo OFFLINE - %%S
    echo Testing Complete! Results have been logged to File.
    :: Open files in default program (typically notepad.exe)
    explorer "%Open-Share-List%"
    explorer "%Locked-Share-List%"
    :: End of script
    endlocal
    timeout -1 /nobreak
    exit /b
    But there are a few (approx 4) servers that are coming up as online/accessible in the list that are actually closed/appropriately locked down. I have no idea why.. all the rest are working as they should. Any help would be much appreciated. Any questions
    let me know. Once again, I would really really appreciate some help.

    Here's a tester:
    Get-Content .\shareList.txt | ForEach {
    $share = $_
    If (Test-Path -Path $share) {
    $found = $true
    } Else {
    $found = $false
    try {
    $null = Get-ChildItem -Path $share -ErrorAction Stop
    $connect = $true
    } catch {
    $connect = $false
    $props = @{
    Share = $share
    Found = $found
    Connect = $connect
    New-Object PsObject -Property $props
    } | Select Share,Found,Connect |
    Sort Connect,Share |
    Export-Csv .\shareListCheck.csv -NoTypeInformation
    As the others have pointed out though, this won't really give you any solid information.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How do I update I phone on bring it to factory settings from computer my phone .  I was trying to do a update and now it wont even turn on it shows a charger cord being plugged in to i tunes.. I cant seem to figure out how to do this from itunes..

    I did update on phone and now it wont even turn on... It shows the charger being plugged into I tunes.... At this point I am not sure if I need to just do a factory reboot or what....AT this point I cant do anything through phone... It has to be done by my computer ... Anyone know how... I am so stressed I am on call with no phone just a pager....Not good..... Please help  thanks heidi

    Scroll down to "Update your device using iTunes" here:
    http://support.apple.com/kb/HT4623
    If that doesn't work, you should restore your iPhone as described here.  Note you may have to try to get into the restore state more than once to succeed.
    http://support.apple.com/kb/HT1808

  • Cant seem to figure out how to rip scenes from DVD's

    I am an actor who is in some big budget movies, and I am trying to rip some scenes from the movies.I have read alot of the posts, downloaded free software, tried to rip it from my toast titanium software, but I am having no luck. I have been editing on iMovie but will be switching to Final Cut Pro soon. Is there any easy way of doing this? I know the DVD's are copy protected , but I am not trying to rip the whole movie.
    Thanks,
    Doug

    what you have in mind is a two step process:
    a) getting rid of the copy protection
    b) convert DVD content (parts of...) into a iM readable form...
    the forum manners don't allow to link to "rippers"… the most famous one is/was Mac The Ripper...- pulled from the usual download sites..- for legal issues. I don't know an actual download link... got my version when it was legal (in my area)... no, I don't share, even mentioning the name is a violation of German laws.. (believe it or not)
    for the next step (conversion) you have many options… for a beginner I would recommend DVDxDV (free trial, 25$)
    I am an actor so you do know the "moral" aspects of overriding copy protection... your agent should be able to get some protection-free copies of your work ... if not, fire him.-

  • I can't seem to figure out what I am doing wrong any suggestions?

    I will admit right off that I am a newb. I have done some programming with C++ but I have just started with JAVA.
    here is the problem. I am writing a program for a course I am in and I have it basically put together but no matter what I do I cant seem to figure out the correct input command to retrieve keystrokes.
    I will post the source code and then the error from netbeans 4.1 debug report:
    package assignment_one;
    import java.io.*;
    import java.util.*;
    /* @author Justin Jackson
    * a program to calculate total gross earnings
    * for one week*/
    public class Main {
    public Main() {
    public static void main(String[] args) {
    InputStreamReader charReader = new
    InputStreamReader(System.in);
    BufferedReader keyboard=new
    BufferedReader(charReader);
    int i; //test to see if loop or end
    int iBasePay; //base pay rate
    int iTotRegHr; //total hours up to 40
    int iTotOtHr; //total hours over 40
    float fTotPay; //total pay
    float fOtRate; //calculated overtime rate
    System.out.println("To calculate a paycheck, please press 1");
    System.out.println("To exit, please press 2");
    i = keyboard.read();
    if (i == 1){
    System.out.println("Please enter the base pay: ");
    iBasePay = keyboard.read();
    System.out.println("Thank you.");
    System.out.println("Please enter the total hours up to 40: ");
    iTotRegHr =keyboard.read();
    System.out.println("Thank you.");
    System.out.println("Please enter any hours over 40: ");
    iTotOtHr = keyboard.read();
    System.out.println("Thank you.");
    fOtRate = (iBasePay * 1.5f);
    fTotPay = (iBasePay * iTotRegHr) + (iTotOtHr * fOtRate);
    System.out.print("The total wage is: " + fTotPay);
    if (i == 2){
    System.out.println("Thank you for using this program ... Goodbye.");
    else {
    System.out.println("I am sorry, that is not a valid option");
    error report:
    init:
    deps-jar:
    Compiling 1 source file to /home/justin/Assignment_One/build/classes
    /home/justin/Assignment_One/src/assignment_one/Main.java:32: unreported exception java.io.IOException; must be caught or declared to be thrown
    i = keyboard.read();
    /home/justin/Assignment_One/src/assignment_one/Main.java:36: unreported exception java.io.IOException; must be caught or declared to be thrown
    iBasePay = keyboard.read();
    /home/justin/Assignment_One/src/assignment_one/Main.java:39: unreported exception java.io.IOException; must be caught or declared to be thrown
    iTotRegHr =keyboard.read();
    /home/justin/Assignment_One/src/assignment_one/Main.java:42: unreported exception java.io.IOException; must be caught or declared to be thrown
    iTotOtHr = keyboard.read();
    4 errors
    BUILD FAILED (total time: 1 second)

    Just like the message says you need to
    1) Declare it to be thrown or
    2) Catch java.io.IOException.
    For case one add throws java.io.IOException to your main:
    public static void main(String[] args) throws java.io.IOException {For case two put your code inside of
    public static void main(String[] args) {
      try {
         //your code here
       } catch (java.io.IOException ex) {
          ex.printStackTrace();
    }

  • I use to drag and drop an web address into a link toolbar, can't seem to figure out how to do this...?

    I just upgraded to Windows 7 and with it I got the latest Firefox. There is nothing like learning 2 things at one time. On my old XP and 3.? all I have to do was drag and drop a web address into a link toolbar. Saving all my frequent visited or just sights I want quick access to, to a toolbar quick button. I have been playing with this for days and decided to try this Forum. I did find the Bookmark toolbar, but cant seem to figure out what is if for or if you can drop into it. When I right click it and Customize, it shows me add on buttons, but nothing to do with web addresses or alike...
    Bottom line; I want to be able to drag and drop a web address into a toolbar for recall latter and be able to edit the address with a right click at a latter date in necessary...
    Thanks, Mike

    You can drag and drop the favicon also known as the [https://support.mozilla.com/en-US/kb/Site+Identity+Button site identity button], at the left hand edge of the location bar onto a toolbar to bookmark the site.

  • Help i lost my iphone and i have the find my iphone app on my phone but cant seem to figure it out without my iPhone

    help i lost my iphone and i have the find my iphone app on my phone but cant seem to figure it out without my iPhone

    Did you have Find My iPhone enabled on your iPhone in its settings? If so, go to www.icloud.com and use your Apple iCloud ID to use the Find My iPhone app.

  • I want to download my itunes library to my shuffle. can't seem to figure out how to do this. can you help me?

    I want to download my itunes library to my shuffle. Can't seem to figure out how to do this. Can anybody help?

    You probably need to set up automatic syncing.  Select the shuffle in iTunes.  You see a row of "tabs" (buttons) starting with Summary.  Click on Music next to Summary.  This is the iPod's Music tab, where you tell iTunes how to sync songs to the shuffle.
    Check the box for Sync Music.  If your iTunes music library is small enough to fit on the shuffle, you can choose to sync Entire music library.  Then click Apply.
    Otherwise, you can choose to sync Selected playlists, artists, albums, and genres, then select (checkmark) the playlists, artists, albums, and/or genres that you want on the shuffle, from the lists below.
    Here's one convenient way to set it up.  In your iTunes library, create a new regular playlist; call it something like "iPod Songs" (or whatever you want).  From your iTunes music library, load that iPod Songs playlist with ALL the songs you want on the shuffle.  On the shuffle's Music tab, find and checkmark that iPod Songs playlist (under Playlists).  When you click Apply, those songs sync to the shuffle.  Going forward, to update songs on the shuffle, just update that iPod Songs playlist in iTunes (add and/or remove songs) and then connect your shuffle.  iTunes automatically updates the shuffle with the same changes.  If the iPod is already connected, click the Sync button to update the iPod.
    If you have any specific question, please post back.

  • I am trying to download photoshop presets from online but can't seem to figure out how to open them in photoshop. They download sucessfuly and then goes to my download folder on my computer, from there I double click on the file and photoshop opens and th

    I am trying to download photoshop presets from online but can't seem to figure out how to open them in photoshop. They download sucessfuly and then goes to my download folder on my computer, from there I double click on the file and photoshop opens and then nothing happens, any ideas? I am using a PC

    This video is a great step by step tutorial.
    Photoshop: How to Download & Install New Brushes & other Presets - YouTube
    Gene

  • The original computer I installed lightroom 3 on, has crashed.  I need to install it on my new computer and can't seem to figure out where to do that.  Please help.

    The original computer I installed lightroom 3 on, has crashed and I need to install it on my new computer.  I can't seem to figure out how to do that.  Please help?

    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Photostream Issue - I have had several phones over the years all backing up via iCloud/Photostream. It seems that the oldest of my photos and videos are simply gone and I cannot seem to figure out how to get access to them. Why is this happening?

    Photostream Issue - I have had several phones over the years all backing up via iCloud/Photostream. It seems that the oldest of my photos and videos are simply gone and I cannot seem to figure out how to get access to them. Why is this happening? Is there anything I can do to get them back? I'm freaked out by the thought that I am paying for what I thought was a safe place for my photos to be stored and accessed later but now see that there are nearly 500 pictures/videos gone from my photostream folder. Any help would be greatly appreciated. Thank you. - Michael

    Hi newmarket,
    Photo Stream is not a respository for archiving photos. It is a cloud storage device that will store the last month or last 1000 photos taken by any device on the same Apple ID, and then will "share" those photos with all other devices that have Photo Stream turned on,and that are logged onto the same Apple ID.
    iCloud backups will contain all of the photos that were on your camera roll the last time you backed up your device.
    If you have photos outside of the Photo Stream parameters, and they are not all on your current camera roll, then you have no way to retrieve them unless you have imported them to the computer you sync with or have uploaded them to some other cloud service like DropBox.
    Sorry,
    GB

  • HT5557 Using IBook, I can't seem to figure out how to insert a blank page inbetween pages that are already set up, like if you want to add some pictures or something.  Anyone have any tips on this?  Thanks, Mark

    Using IBook, I can't seem to figure out how to insert a blank page inbetween pages that are already set up, like if you want to add some pictures or something.  Anyone have any tips on this?  Thanks, Mark

    To enable the form to be signed in Reader you will need to open the form in Acrobat; goto Advanced>Enable Usage Rights and then save this copy of the form for sending out to the users.
    The user should then be able to edit and digitally sign the form. They can then email the signed/saved pdf as a browsed for attachment or via the email icon in the toolbar. Note - if you have created an email submit button on the form, then unless they have Acrobat they could only return an xml file.
    The other way to do this however is to create a dataset by 'distributing' the form. This time the Email Return button will send back a full version of the form. During the distribution setup you will have the option to email the form directly or to save it and send it later,so you can send to users as and when or even post it to a website or intranet.
    When you receive and open the returned form it will ask whether you want to add it to the predetermined dataset (or if you want to categorise the returns into geographical areas for example, you could create new additional datasets at this point). If the form is data heavy however, the dataset will become very large and unwieldy pretty quickly, but you can export the data from it (including signatures) in xml format and import this into an Excel spreadsheet.
    To simplify the Excel xml import process I'd recommend you carefully structure your form in the hierarchy (LiveCycle) into the order you would want the data items to appear in your spreadsheet and switch off those data items that you will not need by setting the default binding for the irrelevant fields to "None".
    Clear as mud? Hope this helps.

  • I am running OS 10.5.8 along with ipoto 6. i can't seem to figure out how to upgrade. i can't upgrade to 11 but what can i do??

    i need to upgrade my iphoto on my intel based imac. running 10.5.8. can't seem to figure out how to upgrade this iphoto. i also have a new macbook on which this version of iphoto won't open. the macbook is running 10.6.7. what can i do to run iphoto on both machines??

    iLife 11 and iPhoto 9 require  OS X10.6.3 as a minimum.  So you will need to upgrade your iMac to Leopard or Snow Leopard and then purchase iPhoto 11 from the App Store.  If you can find a copy of iLife 11 somewhere you'll get all of the latest iApps.
    You're new MBP should be running iPhoto 11 and the other iLIfe 11 apps.
    OT

  • TS1424 I purchased an album and all but one song downloaded, I can't figure out how to get that last song to download??

    I purchased an album and all but one song downloaded, I can't figure out how to get that last song to download??

    Hello Kathie1970,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/ht1933
    Best of luck,
    Mario

Maybe you are looking for

  • Error starting app server - glassfish

    When I try to start the app server alone I don't get any errors, but when I try to access the admin console or localhost:8080 I just get blank pages. (No 404 error) When I try to run it with an app deployed I get the following error. [exec] Jul 21, 2

  • I asked this in the airport community, but I think it might belong here

    I recently went Wireless with airport express(Sat 4/14).  It is working fine with my iPad2, but for some reason, I don't understand it seems like my iMac loses the network and I have to go find it again.  choose it, set the security and give it my pa

  • Leg determination

    Hi gurus, I've a problem with a leg determination and stages I want determinate the legs by the ADRNR of the Ship to, but I can only determinate one leg by the Ship to in the same shipment by the moment I have DEL-01 SP-01 ADRNR-01 LEG-01 DEL-02 SP-0

  • Integrating a INTREXX-Portal

    Hi, a customer have actualy a Intrexx-Portal as their Intranet with documents and filesetc. We want to implement a SAP Netweaver Portal 7.0 and they ask us to integrate their Intrexx into the Netweaver. Specially the stored documents and files. Have

  • Google indexing

    I'd like to hear from other iweb 08 users about how long you've had to wait until your websites show up on Google. I submitted my iWeb site two weeks ago, with about 45 pages, and it still hasn't been indexed. I also submited a sitemap...