Need help: merge array

Hi everybody
Need help in merging array of strong edges (coordinates).
Already using array in 'if else' but have problem in merging those sequence values into two arrays of x and y coordinates (it will take all coordinates in image).
Any ideas?
Thanks.
mySiti
for (int i = 0; i < width; i++) { //for width
            for (int j = 0; j < height; j++) { //for height
                Color c = pic.get(i, j);
                int r = c.getRed();
                int g = c.getGreen();
                int b = c.getBlue();
               int finalEdgeR=0, finalEdgeG=0, finalEdgeB=0;
               int notEdgeR, notEdgeG, notEdgeB;
               int [] StrongEdgeCoordX = new int ;
int [] StrongEdgeCoordY = new int [j];
if(r>=50 && r<=255)
finalEdgeR=r;
System.out.println("--------------------------------");
System.out.println("coordinate of this pixel '"+i+"'");
System.out.println("coordinate of this pixel '"+j+"'");
System.out.println("StrongEdgeCoordX '"+i+"'");
System.out.println("StrongEdgeCoordY '"+j+"'");
System.out.println("edge red '"+finalEdgeR+"'");
else if (r>=0 && r<50) notEdgeR=0;
if(g>=50 && g<=255)
finalEdgeG=g;
System.out.println("edge green '"+finalEdgeG+"'");
else if (g>=0 && g<50) notEdgeG=0;
if(b>=50 && b<=255)
finalEdgeB=b;
System.out.println("edge blue '"+finalEdgeB+"'");
else if (b>=0 && b<50) notEdgeB=0;

hi, i have here a codes but i dont know on how to print the value that stored in array C;
heres the sample code;
// your array a and b
int[] a, b;
// you fill them
a = ...;
b = ...;
// now you merge them
int cSize = a.length + b.length;
int[] c = new int[cSize];
// pos of the c array
int count = 0;
int i = 0;
for(i = 0; i < a.length; i++){
c[count++] = a;
for(i = 0; i < b.length; i++){
c[count++] = b[i];

Similar Messages

  • Need help for array counting

    Any help for array question
    Hello to All:
    I want to tally or count some of the elements that I have in array but not sure how.
    I have for example: int myArray[] = {90,93,80,81,71,72,73,74};My objective is to tally all of the 90's, tally all of the 80's and tally all of the 70's.
    So, the result that I want to have would look something like the following:
    System.out.println ("The total tally number of 90's is " 2 );
    System.out.println ("The total tally number of 80's is " 2 );
    System.out.println ("The total tally number of 70's is " 4 );I do not want to add these numbers, just want to count them.
    Also I want to use a "forloop" to achieve the result intead of just declaring it at 2 or 4 etc..
    Any help Thankyou

    [u]First , This is not exactly what I have to
    do for homework. There is a lot more, a lot more
    involved with the program that I am working on.
    Second, this is an example, an example, an
    example of something that I need to achieve.
    Third, you are asking for a code, to me that
    sounds as if your asking for homework. Fourth,
    I did not ask for any rude comments. Fith, in
    the future please do not reply to my messages at ALL
    if you can not help!!!!
    Sixth, We did not ask for lazy goofs to post here.
    Seventh, In the future please do not post here. Take a hike - there's the virtual door.

  • Noob needs help with array manipulation

    First off, I'd like to say hello to eveybody!
    I'm trying to figure out how to search for a value in an array, delete the first occurence of it, and shift the rest of the array down one. Can anyone point me in the right direction of an algorithm, mabey?
    Any help is most appreciated!

    first of all, let me comment that for this purpouse, you're better using the ArrayList class.
    anyway, you would need to make a temporary array inside a method, and traverse the array in question using a loop. most people use a for loop.
    Then, put all the values of the old array into the temporary one, except for the one you dont want.
    after the loop, set the old array to equal the temporary array.

  • Need Help with Arrays/Text

    I'm trying to create a flash program that uses it's own code to send and create images. Each square has a colour and that colour gets added into the array. A black, then grey, then white is:
    filecode = ["Bl", "Gr", "Wh"];
    That works fine, but when I try to paste it into an Input text box it will only fill in the first part of the array.
    filecode = ["Bl,Gr,Wh"];
    So the program has NO idea what I want.
    The only ways I can think of fixing this is by putting in 402 text boxes to suit every box...But every one of them needs a Variable Name.
    Or by sending the information straight into the array. But this way you are just looking at what you just drew, and that is not at ALL practical.
    Helping me with this headache will be greatly apprectiated.
    FlashDrive100.

    If you can explain the first part of your posting it might become a little clearer what you are trying to do and what isn't working... particularly this...
    " when I try to paste it into an Input text box it will only fill in the first part of the array."
    I can't speak for anyone else, but at this point, I share your file's problem... not knowing what you want.

  • Need help merging these two files togehter

    I have the following class files one reads in a file another creates a file, Can somebody help me put the two class files together so i have one file which creates a file and reads it in, as i am stuck as to which bits need to be copied and which bits i only need once.
    /////////////////////////////////////////////////Code to create and save data in to file////////////////
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import bank.BankUI;
    import bank.*;
    public class CreateSequentialFile extends JFrame {
       private ObjectOutputStream output;
       private BankUI userInterface;
       private JButton enterButton, openButton;
       private Store store;
       private Employee record;
       // set up GUI
       public CreateSequentialFile()
          super( "Creating a Sequential File of Objects" ); // appears in top of gui
          // create instance of reusable user interface
          userInterface = new BankUI( 9 );  // number of textfields
          getContentPane().add( userInterface, BorderLayout.CENTER );
          // configure button doTask1 for use in this program
          openButton = userInterface.getDoTask1Button();
          openButton.setText( "Save to file" );
          // register listener to call openFile when button pressed
          openButton.addActionListener(
             // anonymous inner class to handle openButton event
             new ActionListener() {
                // call openFile when button pressed
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
          // configure button doTask2 for use in this program
          enterButton = userInterface.getDoTask2Button();
          enterButton.setText( "Save to file..." );
          enterButton.setEnabled( false );  // disable button
          // register listener to call addRecord when button pressed
          enterButton.addActionListener(
             // anonymous inner class to handle enterButton event
             new ActionListener() {
                // call addRecord when button pressed
                public void actionPerformed( ActionEvent event )
                   addRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          // register window listener to handle window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // add current record in GUI to file, then close file
                public void windowClosing( WindowEvent event )
                             if ( output != null )
                                addRecord();
                                  closeFile();
             } // end anonymous inner class
          ); // end call to addWindowListener
          setSize( 600, 500 );
          setVisible( true );
         store = new Store(100);
       } // end CreateSequentialFile constructor
       // allow user to specify file name
       private void openFile()
          // display file dialog, so user can choose file to open
          JFileChooser fileChooser = new JFileChooser();
          fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
          int result = fileChooser.showSaveDialog( this );
          // if user clicked Cancel button on dialog, return
          if ( result == JFileChooser.CANCEL_OPTION )
             return;
          File fileName = fileChooser.getSelectedFile(); // get selected file
          // display error if invalid
          if ( fileName == null || fileName.getName().equals( "" ) )
             JOptionPane.showMessageDialog( this, "Invalid File Name",
                "Invalid File Name", JOptionPane.ERROR_MESSAGE );
          else {
             // open file
             try {
                output = new ObjectOutputStream(
                   new FileOutputStream( fileName ) );
                openButton.setEnabled( false );
                enterButton.setEnabled( true );
             // process exceptions from opening file
             catch ( IOException ioException ) {
                JOptionPane.showMessageDialog( this, "Error Opening File",
                   "Error", JOptionPane.ERROR_MESSAGE );
          } // end else
       } // end method openFile
       // close file and terminate application
       private void closeFile()
          // close file
          try {
    int storeSize = store.getCount();
    for (int i = 0; i<storeSize;i++)
    output.writeObject(store.elementAt(i));
             output.close();
             System.exit( 0 );
          // process exceptions from closing file
          catch( IOException ioException ) {
             JOptionPane.showMessageDialog( this, "Error closing file",
                "Error", JOptionPane.ERROR_MESSAGE );
             System.exit( 1 );
       } // end method closeFile
       // add record to file
       public void addRecord()
          int employeeNumber = 0;
          String fieldValues[] = userInterface.getFieldValues();
          // if account field value is not empty
          if ( ! fieldValues[ BankUI.IDNUMBER ].equals( "" ) ) {
             // output values to file
             try {
                employeeNumber = Integer.parseInt(
                   fieldValues[ BankUI.IDNUMBER ] );
                        String dob = fieldValues[ BankUI.DOB ];
                        String[] dateofBirth = dob.split ("-"); // what used to put between number
                        String sDate = fieldValues[ BankUI.START ];
                        String[] startDate = sDate.split ("-");
                        String sex = fieldValues[ BankUI.GENDER ];
                        char gender = (sex.charAt(0));
    if ( employeeNumber >= 0 ) {
                    record  = new Employee(
                    fieldValues[ BankUI.NAME ],
                        gender,
                    new Date(     Integer.parseInt(dateofBirth[0]),
                              Integer.parseInt(dateofBirth[1]),
                              Integer.parseInt(dateofBirth[2])),
                        fieldValues[ BankUI.ADDRESS ],
                        fieldValues[ BankUI.NATINTNO ],
                        fieldValues[ BankUI.PHONE ],
                        fieldValues[ BankUI.IDNUMBER ],
              new Date(     Integer.parseInt(startDate[0]),
                              Integer.parseInt(startDate[1]),
                              Integer.parseInt(startDate[2])),
              Float.parseFloat( fieldValues[ BankUI.SALARY ] ));
                        if (!store.isFull())
                             store.add(record);
                        else
                        JOptionPane.showMessageDialog( this, "The Store is full you cannot add\n"+
                         "anymore employees. \nPlease Save Current File and Create a New File." );
                             System.out.println("Store full");
                        store.displayAll();
                        System.out.println("Count is " + store.getCount());
                                  // output record and flush buffer
                        //should be written to fuile in the close file method.
                   output.flush();
                else
                    JOptionPane.showMessageDialog( this,
                       "Account number must be greater than 0",
                       "Bad account number", JOptionPane.ERROR_MESSAGE );
                // clear textfields
                userInterface.clearFields();
             } // end try
             // process invalid account number or balance format
             catch ( NumberFormatException formatException ) {
                JOptionPane.showMessageDialog( this,
                   "Bad ID number, Date or Salary", "Invalid Number Format",
                   JOptionPane.ERROR_MESSAGE );
             // process exceptions from file output
             catch ( ArrayIndexOutOfBoundsException ArrayException ) {
                 JOptionPane.showMessageDialog( this, "Error with Start Date or Date of Birth",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                      // process exceptions from file output
             catch ( IOException ioException ) {
                 JOptionPane.showMessageDialog( this, "Error writing to file",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                closeFile();
          } // end if
       } // end method addRecord
       public static void main( String args[] )
          new CreateSequentialFile();
    } // end class CreateSequentialFile
    /////////////////////////////Code to read and cycle through the file created above///////////
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import bank.*;
    public class ReadSequentialFile extends JFrame {
       private ObjectInputStream input;
       private BankUI userInterface;
       private JButton nextButton, openButton, nextRecordButton ;
       private Store store = new Store(100);
         private Employee employeeList[] = new Employee[100];
         private int count = 0, next = 0;
       // Constructor -- initialize the Frame
       public ReadSequentialFile()
          super( "Add Employee" );
          // create instance of reusable user interface
          userInterface = new BankUI( 9 ); 
          getContentPane().add( userInterface, BorderLayout.CENTER );
          // get reference to generic task button doTask1 from BankUI
          openButton = userInterface.getDoTask1Button();
          openButton.setText( "Open File" );
          // register listener to call openFile when button pressed
          openButton.addActionListener(
             // anonymous inner class to handle openButton event
             new ActionListener() {
                // close file and terminate application
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
          // register window listener for window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // close file and terminate application
                public void windowClosing( WindowEvent event )
                   if ( input != null )
                             closeFile();
                   System.exit( 0 );
             } // end anonymous inner class
          ); // end call to addWindowListener
          // get reference to generic task button doTask2 from BankUI
          nextButton = userInterface.getDoTask2Button();
          nextButton.setText( "Next Record" );
          nextButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   readRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          //get reference to generic task button do Task3 from BankUI
          // get reference to generic task button doTask3 from BankUI
          nextRecordButton = userInterface.getDoTask3Button();
          nextRecordButton.setText( "Get Next Record" );
          nextRecordButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextRecordButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   getNextRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          pack();
          setSize( 600, 300 );
          setVisible( true );
       } // end ReadSequentialFile constructor
       // enable user to select file to open
       private void openFile()
          // display file dialog so user can select file to open
          JFileChooser fileChooser = new JFileChooser();
          fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
          int result = fileChooser.showOpenDialog( this );
          // if user clicked Cancel button on dialog, return
          if ( result == JFileChooser.CANCEL_OPTION )
             return;
          // obtain selected file
          File fileName = fileChooser.getSelectedFile();
          // display error if file name invalid
          if ( fileName == null || fileName.getName().equals( "" ) )
             JOptionPane.showMessageDialog( this, "Invalid File Name",
                "Invalid File Name", JOptionPane.ERROR_MESSAGE );
          else {
             // open file
             try {
                input = new ObjectInputStream(
                   new FileInputStream( fileName ) );
                openButton.setEnabled( false );
                nextButton.setEnabled( true );
             // process exceptions opening file
             catch ( IOException ioException ) {
                JOptionPane.showMessageDialog( this, "Error Opening File",
                   "Error", JOptionPane.ERROR_MESSAGE );
          } // end else
       } // end method openFile
       // read record from file
       public void readRecord()
          Employee record;
          // input the values from the file
          try {
                  record = ( Employee ) input.readObject();
                   employeeList[count++]= record;
                   store.add(record);
              store.displayAll();
              System.out.println("Count is " + store.getCount());
             // create array of Strings to display in GUI
             String values[] = {
                        String.valueOf(record.getName()),
                            String.valueOf(record.getGender()),
                        String.valueOf( record.getDateOfBirth()),
                        String.valueOf( record.getID()),
                             String.valueOf( record.getStartDate()),
                        String.valueOf( record.getSalary()),
                        String.valueOf( record.getAddress()),
                           String.valueOf( record.getNatInsNo()),
                        String.valueOf( record.getPhone())
    // i added all those bits above split onto one line to look neater
             // display record contents
             userInterface.setFieldValues( values );
          // display message when end-of-file reached
          catch ( EOFException endOfFileException ) {
             nextButton.setEnabled( false );
          nextRecordButton.setEnabled( true );
             JOptionPane.showMessageDialog( this, "No more records in file",
                "End of File", JOptionPane.ERROR_MESSAGE );
          // display error message if class is not found
          catch ( ClassNotFoundException classNotFoundException ) {
             JOptionPane.showMessageDialog( this, "Unable to create object",
                "Class Not Found", JOptionPane.ERROR_MESSAGE );
          // display error message if cannot read due to problem with file
          catch ( IOException ioException ) {
             JOptionPane.showMessageDialog( this,
                "Error during read from file",
                "Read Error", JOptionPane.ERROR_MESSAGE );
       } // end method readRecord
       private void getNextRecord()
               Employee record = employeeList[next++%count];//cycles throught accounts
          //create aray of string to display in GUI
          String values[] = {String.valueOf(record.getName()),
             String.valueOf(record.getGender()),
              String.valueOf( record.getStartDate() ), String.valueOf( record.getAddress()),
         String.valueOf( record.getNatInsNo()),
         String.valueOf( record.getPhone()),
             String.valueOf( record.getID() ),
               String.valueOf( record.getDateOfBirth() ),
         String.valueOf( record.getSalary() ) };
         //display record contents
         userInterface.setFieldValues(values);
         //display record contents
      // again i nicked these write them on one line
      // close file and terminate application
       private void closeFile()
          // close file and exit
          try {
             input.close();
             System.exit( 0 );
          // process exception while closing file
          catch ( IOException ioException ) {
             JOptionPane.showMessageDialog( this, "Error closing file",
                "Error", JOptionPane.ERROR_MESSAGE );
             System.exit( 1 );
       } // end method closeFile
       public static void main( String args[] )
          new ReadSequentialFile();
    } // end class ReadSequentialFile

    I tired putting both codes together and got this, it runs but does not do what i want can anybody help me put the above two codes together as one
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import bank.BankUI;
    import bank.*;
    public class togehter extends JFrame {
       private ObjectOutputStream output;
       private BankUI userInterface;
       private JButton enterButton, openButton;
       //private Store store; wont work if i un comment this
       private Employee record;
    // from read
         private ObjectInputStream input;
         private JButton nextButton, openButton2, nextRecordButton ;
            private Store store = new Store(100);
         private Employee employeeList[] = new Employee[100];
         private int count = 0, next = 0;
    // end of read
       // set up GUI
       public togehter()
          super( "Creating a Sequential File of Objects" ); // appears in top of gui
          // create instance of reusable user interface
          userInterface = new BankUI( 9 );  //  textfields
          getContentPane().add( userInterface, BorderLayout.CENTER );
          // configure button doTask1 for use in this program
          openButton = userInterface.getDoTask1Button();
          openButton.setText( "Save to file" );
          // register listener to call openFile when button pressed
          openButton.addActionListener(
             // anonymous inner class to handle openButton event
             new ActionListener() {
                // call openFile when button pressed
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
    // from read
          // get reference to generic task button doTask1 from BankUI
          openButton2 = userInterface.getDoTask1Button();
          openButton2.setText( "Open File" );
          // register listener to call openFile when button pressed
          openButton2.addActionListener(
             // anonymous inner class to handle openButton2 event
             new ActionListener() {
                // close file and terminate application
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
    // from read end
    // from read
    // register window listener for window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // close file and terminate application
                public void windowClosing( WindowEvent event )
                   if ( input != null )
                             closeFile();
                   System.exit( 0 );
             } // end anonymous inner class
          ); // end call to addWindowListener
    //from read end
    // from read
       // get reference to generic task button doTask2 from BankUI
          nextButton = userInterface.getDoTask2Button();
          nextButton.setText( "Next Record" );
          nextButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   readRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          //get reference to generic task button do Task3 from BankUI
          // get reference to generic task button doTask3 from BankUI
          nextRecordButton = userInterface.getDoTask3Button();
          nextRecordButton.setText( "Get Next Record" );
          nextRecordButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextRecordButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   getNextRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
    // from read end
          // configure button doTask2 for use in this program
          enterButton = userInterface.getDoTask2Button();
          enterButton.setText( "Save to file..." );
          enterButton.setEnabled( false );  // disable button
          // register listener to call addRecord when button pressed
          enterButton.addActionListener(
             // anonymous inner class to handle enterButton event
             new ActionListener() {
                // call addRecord when button pressed
                public void actionPerformed( ActionEvent event )
                   addRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          // register window listener to handle window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // add current record in GUI to file, then close file
                public void windowClosing( WindowEvent event )
                             if ( output != null )
                                addRecord();
                                  closeFile();
             } // end anonymous inner class
          ); // end call to addWindowListener
          setSize( 600, 500 );
          setVisible( true );
         store = new Store(100);
       } // end CreateSequentialFile constructor
       // allow user to specify file name
       private void openFile()
          // display file dialog, so user can choose file to open
          JFileChooser fileChooser = new JFileChooser();
          fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
          int result = fileChooser.showSaveDialog( this );
          // if user clicked Cancel button on dialog, return
          if ( result == JFileChooser.CANCEL_OPTION )
             return;
          File fileName = fileChooser.getSelectedFile(); // get selected file
          // display error if invalid
          if ( fileName == null || fileName.getName().equals( "" ) )
             JOptionPane.showMessageDialog( this, "Invalid File Name",
                "Invalid File Name", JOptionPane.ERROR_MESSAGE );
          else {
             // open file
             try {
                output = new ObjectOutputStream(
                   new FileOutputStream( fileName ) );
                openButton.setEnabled( false );
                enterButton.setEnabled( true );
             // process exceptions from opening file
             catch ( IOException ioException ) {
                JOptionPane.showMessageDialog( this, "Error Opening File",
                   "Error", JOptionPane.ERROR_MESSAGE );
          } // end else
       } // end method openFile
    // from read
    public void readRecord()
          Employee record;
          // input the values from the file
          try {
                  record = ( Employee ) input.readObject();
                   employeeList[count++]= record;
                   store.add(record);/////////ADDS record to Store
              store.displayAll();
              System.out.println("Count is " + store.getCount());
             // create array of Strings to display in GUI
             String values[] = {
                        String.valueOf(record.getName()),
                            String.valueOf(record.getGender()),
                        String.valueOf( record.getDateOfBirth()),
                        String.valueOf( record.getID()),
                             String.valueOf( record.getStartDate()),
                        String.valueOf( record.getSalary()),
                        String.valueOf( record.getAddress()),
                           String.valueOf( record.getNatInsNo()),
                        String.valueOf( record.getPhone())
             // display record contents
             userInterface.setFieldValues( values );
          // display message when end-of-file reached
          catch ( EOFException endOfFileException ) {
             nextButton.setEnabled( false );
          nextRecordButton.setEnabled( true );
             JOptionPane.showMessageDialog( this, "No more records in file",
                "End of File", JOptionPane.ERROR_MESSAGE );
          // display error message if class is not found
          catch ( ClassNotFoundException classNotFoundException ) {
             JOptionPane.showMessageDialog( this, "Unable to create object",
                "Class Not Found", JOptionPane.ERROR_MESSAGE );
          // display error message if cannot read due to problem with file
          catch ( IOException ioException ) {
             JOptionPane.showMessageDialog( this,
                "Error during read from file",
                "Read Error", JOptionPane.ERROR_MESSAGE );
       } // end method readRecord
    //from read end
    // from read
    private void getNextRecord()
               Employee record = employeeList[next++%count];//cycles throught accounts
          //create aray of string to display in GUI
          String values[] = {String.valueOf(record.getName()),
             String.valueOf(record.getGender()),
              String.valueOf( record.getStartDate() ), String.valueOf( record.getAddress()),
         String.valueOf( record.getNatInsNo()),
         String.valueOf( record.getPhone()),
             String.valueOf( record.getID() ),
               String.valueOf( record.getDateOfBirth() ),
         String.valueOf( record.getSalary() ) };
         //display record contents
         userInterface.setFieldValues(values);
         //display record contents
    // from read end
       // close file and terminate application
       private void closeFile()
          // close file
          try {
                                            int storeSize = store.getCount();
                                            for (int i = 0; i<storeSize;i++)
                                            output.writeObject(store.elementAt(i));
             output.close();
    input.close(); // from read
             System.exit( 0 );
          // process exceptions from closing file
          catch( IOException ioException ) {
             JOptionPane.showMessageDialog( this, "Error closing file",
                "Error", JOptionPane.ERROR_MESSAGE );
             System.exit( 1 );
       } // end method closeFile
       // add record to file
       public void addRecord()
          int employeeNumber = 0;
          String fieldValues[] = userInterface.getFieldValues();
          // if account field value is not empty
          if ( ! fieldValues[ BankUI.IDNUMBER ].equals( "" ) ) {
             // output values to file
             try {
                employeeNumber = Integer.parseInt(
                   fieldValues[ BankUI.IDNUMBER ] );
                        String dob = fieldValues[ BankUI.DOB ];
                        String[] dateofBirth = dob.split ("-"); // what used to put between number chnage to /
                        String sDate = fieldValues[ BankUI.START ];
                        String[] startDate = sDate.split ("-");
                        String sex = fieldValues[ BankUI.GENDER ];
                        char gender = (sex.charAt(0)); // check if m or f prob check in employee
    if ( employeeNumber >= 0 ) {
                    record  = new Employee(
                    fieldValues[ BankUI.NAME ],
                        gender,
                    new Date(     Integer.parseInt(dateofBirth[0]),
                              Integer.parseInt(dateofBirth[1]),
                              Integer.parseInt(dateofBirth[2])),
                        fieldValues[ BankUI.ADDRESS ],
                        fieldValues[ BankUI.NATINTNO ],
                        fieldValues[ BankUI.PHONE ],
                        fieldValues[ BankUI.IDNUMBER ],
              new Date(     Integer.parseInt(startDate[0]),
                              Integer.parseInt(startDate[1]),
                              Integer.parseInt(startDate[2])),
              Float.parseFloat( fieldValues[ BankUI.SALARY ] ));
                        if (!store.isFull())
                             store.add(record);
                        else
                        JOptionPane.showMessageDialog( this, "The Store is full you cannot add\n"+
                         "anymore employees. \nPlease Save Current File and Create a New File." );
                             System.out.println("Store full");
                        store.displayAll();
                        System.out.println("Count is " + store.getCount());
                             output.flush();
                else
                    JOptionPane.showMessageDialog( this,
                       "Account number must be greater than 0",
                       "Bad account number", JOptionPane.ERROR_MESSAGE );
                // clear textfields
                userInterface.clearFields();
             } // end try
             // process invalid account number or balance format
             catch ( NumberFormatException formatException ) {
                JOptionPane.showMessageDialog( this,
                   "Bad ID number, Date or Salary", "Invalid Number Format",
                   JOptionPane.ERROR_MESSAGE );
             // process exceptions from file output
             catch ( ArrayIndexOutOfBoundsException ArrayException ) {
                 JOptionPane.showMessageDialog( this, "Error with Start Date or Date of Birth",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                      // process exceptions from file output
             catch ( IOException ioException ) {
                 JOptionPane.showMessageDialog( this, "Error writing to file",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                closeFile();
          } // end if
       } // end method addRecord
       public static void main( String args[] )
          new togehter();
    } // end class CreateSequentialFileI GOT IT WORKING BUT THERE WAS A WEIRD ERROR I GET WHEN TRYING TO READ A FILE I JUST WROTE THE THREAD FOR THAT CAN BE FOUND:
    http://forum.java.sun.com/thread.jspa?threadID=5147209
    Message was edited by:
    ajrobson

  • Java Intro student needs help on arrays

    As my first assignment I have created a program called RobotRat which has a "Rat" move north, south, east, or west on an array floor. I have the program running but am having trouble creating my "floor" using a two-dimensional array. My teacher also wants us to use boolean values for our array. I am drawing a blank on how to create this. From my books I have gathered the following code but cannot get it to work. Any help would be greatly appreciated:
    1.public class RobotRatArray
    2.{
    3.
    4. dataType RobotRatArray[] [];
    5. int matrix [] [];
    6. matrix = new int [20] [20];
    7.
    8.
    9.}

    Okay, I just spoke with a classmate of mine and they said my array isn't in another window. I need to do some system.out.print commands so they print out on my dos window. I am just so confused with this program. I am going to copy and paste it in here in case anyone has any guidance for me. It would be greatly appreciated. (Sorry, I can't figure out how to get my line numbers to populate from textpad when I paste in this message)
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class RobotRat extends JFrame implements ActionListener
         private JPanel panel1 = null;
         private JPanel panel2 = null;
         private JPanel panel3 = null;
         private JLabel label1 = null;
         private JLabel label2 = null;
         private JLabel label3 = null;
         private JTextField textfield1 = null;
         private JButton button1 = null;
         private JButton button2 = null;
         private JButton button3 = null;
         private JButton button4 = null;
         private boolean[][] floor = null;
         private int current_column = 21;
         private int current_row = 21;
         private static final int UP = 1;
         private static final int DOWN = 0;
         private static final int NORTH = 0;
         private static final int EAST = 1;
         private static final int SOUTH = 2;
         private static final int WEST = 3;
         private int pen_position = UP;
         private int rats_direction = EAST;
    public RobotRat()
    super("RobotRat");
    label1 = new JLabel("Spaces: ");
    textfield1 = new JTextField(40);
    button1 = new JButton("Move North");
    button2 = new JButton("Move South");
    button3 = new JButton("Move East");
    button4 = new JButton("Move West");
    button1.addActionListener(this);
    button2.addActionListener(this);
    button3.addActionListener(this);
    button4.addActionListener(this);
    this.getContentPane().setLayout(new FlowLayout());
    this.getContentPane().add(label1);
    this.getContentPane().add(textfield1);
    this.getContentPane().add(button1);
    this.getContentPane().add(button2);
    this.getContentPane().add(button3);
    this.getContentPane().add(button4);
    this.setSize(600, 100);
    this.setLocation(100, 100);
    this.show();
    public void togglePen()
         switch(pen_position)
              case (UP): pen_position = DOWN;
              label1.setText("DOWN");
              break;
              case (DOWN): pen_position = UP;
              label1.setText("UP");
              break;
              default: break;
    public void turnLeft()
         switch(rats_direction)
              case NORTH: rats_direction = WEST;
              label3.setText("WEST");
              break;
              case EAST: rats_direction = NORTH;
              label3.setText("NORTH");
              break;
              case SOUTH: rats_direction = EAST;
              label3.setText("EAST");
              break;
              case WEST: rats_direction = SOUTH;
              label3.setText("SOUTH");
              break;
    public void move()
         int spaces_to_move = 0;
         try
              spaces_to_move=Integer.parseInt(textfield1.getText());
         catch(Exception e)
         switch(pen_position)
              case UP:
                   switch(rats_direction)
                        case NORTH: ;
                        case SOUTH: ;
                        case WEST: ;
                        case EAST: ;
              break;
              case DOWN:
                   switch(rats_direction)
                        case NORTH: ;
                        case SOUTH: ;
                        case WEST: ;
                        case EAST: ;
              break;
    public void actionPerformed(ActionEvent e)
         if (e.getActionCommand().equals("TogglePen")) {
         togglePen();
         else if (e.getActionCommand().equals("TurnLeft")) {
         turnLeft();
    public static void main(String[] args)
         RobotRat rr = new RobotRat();

  • Need Help with Array.sort and compare

    Hi
    I have a big problem, i try to make a java class, where i can open a file and add new words, and to sort them in a right order
    Ok everthing works fine, but i get a problem with lower and upper cases.
    So i need a comparator, i tried everything but i just dont understand it.
    How do i use this with Array.sort??
    I hope someone can help me

    Okay, you want to ignore case when sorting.
    There are two possibilities: Truly ignore case, so that any of the following are possible, and which one you'll actually get is undefined, and may vary depending on, say, which order the words are entered in the first place:
    English english German german
    english English german German
    English english german German
    english English German german
    The second possibility is that you do consider case, but it's of lower priority--it's only considered if the letters are the same. This allows only the first two orderings above.
    Either way, you need to write a comparator, and call an Arrays.sort method that takes both array and Comparator.
    The first situation is simpler. Just get an all upper or lower case copy of the strings, and then compare thosepublic int compare(Object o1, Object o2) {
        String s1 = ((String)o1).toUpper();
        String s2 = ((String)o1).toUpper();
        return s1.compareTo(s2);
    } You'll need to add your own null check if you need one.
    For the second way, your comparator will need to iterate over each pair of characters. If the characters are equal, ignoring case, then you compare them based on case. You pick whether upper is greater or less than lower.
    Of course, the need to do this assumes that such a method doesn't alrady exist. I don't know of one, but I haven't looked.

  • I need help merging an old Mozilla Firefox with a new one, How do I do it?

    Can Firefox merge my two Mozilla Firefox accounts?
    Between 2010 and 2012 I created to separate Mozilla Firefox accounts. The first was under Teri Muckleroy with the Username savdXGodsgrace and email address (Email removed by mod) that has been changed as of 05/30/2012 to (Email removed by mod) and the second account that I created for my Firefox Personas that is under the name Teri Hinton with the Username CountryGirlsHeartAlways and email address (Email removed by mod) that as of 05/30/2012 has been changed to (Email removed by mod) so what I want to know is could Mozilla Firefox help me merge the two accounts into one. The only info I want to use is,
    Username: CountryGirlsHeartAlways
    Email address: (Email removed by mod)
    I'd like Mozilla Firefox to send me an email with a link to enter my password or send me a temporary password once the merge of both accounts has been completed or if a merge is not possible a solution that will make it possible for me to merge the two accounts myself.

    What do you mean with a Mozilla Firefox account? Note also that a moderator already removed your e-mail details to protect you from getting spam. Please don't post private information in this public forum, for your own safety. Thanks!

  • Exchange was deployed without a CASArray, need help with array settings and PRF to fix.

    I'm standing up a new Exchange 2010 server to replace old hardware (not going 2013 at this time) and found out the hard way that the person who built the old 2010 box never created a CASArray.  I've created one and applied it to the mailbox DB on the
    new server with set-rpcclientaccess and it works fine - I move my own mailbox to the new DB and do a "Repair" to the Outlook profile and then it shows the address for the CAS Arrary within Outlook.
    I set up a hardware load balancer for the CAS Array IP address and it shows good connection from both CAS servers, Outlook is connecting through that just fine.
    Users are on Outlook 2007 and 2010, almost all 64-bit versions.
    Reconfiguring everybody's outlook isn't going to be a practical solution for me - I support a couple hundred geographically-dispersed users most of whom aren't keen to muck about in their Outlook settings.  So here are my questions:
    Should I add the mailbox DB on the old CAS server to the array using set-rpcclientaccess or will this disrupt connectivity for all users?
    Assuming I need to use a PRF to update client computers, have read several pages on how to create the PRF, but even launching outlook.exe /importprf doesn't fix the value - and /promptimportprf doesn't prompt (I see a brief flash of what is probably the
    prompt window but it disappears immediately).  I'm going to paste in the PRF in use exempting sections 5, 6 and 7 which are unchanged.  Where do I correctly need to enter the CAS array value?
    [General]
    Custom=1
    DefaultProfile=Yes
    OverwriteProfile=Append
    ModifyDefaultProfileIfPresent=true
    ; Section 2 - Services in Profile
    [Service List]
    ;ServiceX=Microsoft Outlook Client
    ; Section 3 - List of internet accounts
    [Internet Account List]
    ; Section 4 - Default values for each service.
    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to true to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to true to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to true to prompt user before opening unknown forms when using Exchange Web Services.
    [Service1]
    HomeServer=cas.corp.mydomain
    DefaultProfile=Yes
    OverwriteProfile=Append
    ModifyDefaultProfileIfPresent=true

    If you move a mailbox from one server to another, Outlook will automatically repair the Outlook profile.  Have you tried this, instead of trying to force a profile update using a PRF?

  • Need help with Arrays

    Hey guys, I'm a beginner programmer and I'm having a bit of a tough time with arrays. I could really use some help!
    What I'm trying to do is roll one die and then record the rolls.
    Here is my sample I/O:
    How many times should I roll a die?
    -> 8
    rolling 8 times
    2, 1, 5, 6, 2, 3, 6, 5
    number of 1's: 1
    number of 2's: 2
    and so on....
    Here is my incomplete code at this moment:
    //CountDieFaces.java
    import java.util.Scanner;
    import java.io.*;
    import library.Gamble;
    public class CountDieFaces
        //prompt for and read in: number of times user wants to roll one die
        //simulate rolling a die that many times, counting how many times each face 1 thru 6 comes up
        //print out: each roll
        //AND the total number of times each face occured and the percentage of the time each face occured.
        Scanner scan = new Scanner(System.in);
        int[] faceCount= {0,0,0,0,0,0,0};
        int dice;
        System.out.println("How many times would you like to roll the die?");
        int dieCount = scan.nextInt();
        int dieRoll = Gamble.rollDie(); // Main calling class method
        int count = 1;
        while(count < dieCount)
            System.out.println(faceCount[count]);
            count++;
    }Here is the gamble library:
    //Gamble.java
    package library;
    public class Gamble
         // returns 1, 2, 3, 4, 5, or 6
         public static int rollDie()
              int dieRoll = (int)(Math.random()*6)+1;
              return dieRoll;
    }and here are the errors I have so far:
    ----jGRASP exec: javac -g CountDieFaces.java
    CountDieFaces.java:19: <identifier> expected
         System.out.println("How many times would you like to roll the die?");
         ^
    CountDieFaces.java:19: illegal start of type
         System.out.println("How many times would you like to roll the die?");
         ^
    CountDieFaces.java:25: illegal start of type
         while(count < dieCount)
         ^
    CountDieFaces.java:25: > expected
         while(count < dieCount)
         ^
    CountDieFaces.java:25: ')' expected
         while(count < dieCount)
         ^
    CountDieFaces.java:26: ';' expected
         ^
    CountDieFaces.java:27: illegal start of type
              System.out.println(faceCount[count]);
              ^
    CountDieFaces.java:27: ';' expected
              System.out.println(faceCount[count]);
              ^
    CountDieFaces.java:27: invalid method declaration; return type required
              System.out.println(faceCount[count]);
              ^
    CountDieFaces.java:27: ']' expected
              System.out.println(faceCount[count]);
              ^
    CountDieFaces.java:27: ')' expected
              System.out.println(faceCount[count]);
    I'm really confused with how a the gamble library gets put into the array, so any help is appreciated! Also if anyone could explain the errors to me, I would really appreciate it.
    thanks in advance,
    wootens
    Edited by: Wootens on Oct 18, 2010 8:55 PM

    D'oh!
    Thanks you guys, fixed that. Although I'm having trouble with storing the die roll in the array. Any suggestions?
    java.io.*;
    public class CountDieFaces
        //prompt for and read in: number of times user wants to roll one die
        //simulate rolling a die that many times, counting how many times each face 1 thru 6 comes up
        //print out: each roll
        //AND the total number of times each face occured and the percentage of the time each face occured.
        public static void main(String[] args)
            Scanner scan = new Scanner(System.in);
            int[] faceCount= {0,0,0,0,0,0};
            int dice;
            System.out.println("How many times would you like to roll the die?");
            int dieCount = scan.nextInt();
            int dieRoll = rollDie(); // Main calling class method
            int count = 0;
            while(count < dieCount)
                System.out.println(faceCount[dieRoll]);
                count++;
        public static int rollDie()
            int dieRoll = (int)(Math.random()*6)+1;
            return dieRoll;
    }Wootens

  • Hi all, i need Help in Arrays

    Hi All,
    I have some problems on the below questions scenario;
    Program 1
    You are to write a program using a method other than main. The program is to
    �     collect monthly rainfall figures for 12 months
    �     pass the total annual rainfall to another method which calculates the average monthly rainfall and returns it to the main method
    �     calculate the variation of each month from the average (as a positive)
    �     display the results
    Sample input screen
    Enter rainfall for month 1:     13.3
    Enter rainfall for month 2:      14.9
    Enter rainfall for month 3:      14.7
    Enter rainfall for month 4:      23.0
    etc for the 12 months jan-dec
    After the 12 months of data has been collected as report as follows is displayed:
    Annual Rainfall Report
    Monthly average: 15.04mm
    Month          Rainfall     Variation
    January          13.3          1.73
    February          14.9          0.13
    March          14.7          0.33
    April          23.0          7.97
    etc for the year�
    Problem 2
    You are to make major improvements to last week�s program.
    The format of your program and some key elements should be as follows:
    public class Rainfall
         public static void main()
              Create an array for monthly rainfall
              Loop to collect rainfall figures from user and store in array
              Loop through rainfall array
                   Call printRainfall method passing month number, rainfall for                          that month, and average as parameters
         printRainfall method
              Create an initialiser list array of month names
                   (ie hard code the month names in your program)
              Print report headings
              Use the parameters to access month names array and print report                          detail line
    I have problems with the Problem 2 which i can't loop up the input values and printouts using aarays to do it.
    Can anyone out there help me to solve the problems ? If possible, please reply me at my email @ [email protected] .Lotsa thanks.
    Thanks and Regards.

    So why don't you tell us exactly what's going wrong and show us the code where it's going wrong.

  • Need help merging two users

    I mistakenly have 2 users profiles for my desktop and want to merge them into one. Any advice?

    Apps should be stored in the application folder. Either user should have access to them. If not, check the accounts an make sure they are not restricted.
    For the iTunes accounts, if you have music in both users, then you can't simply merge the 2 accounts.
    What you need to do is decide which account you are going to keep. Log into the other account you are going to delete.
    For iTunes, you will need to export the music Library to another drive. If you have no other drive, then export the music library to the desktop. Then, move or copy that to the desktop of the other user. Desktop should be the only file you have access to on the other user.
    For any other files, copy them to the external drive or to the desktop of the other user. You might want to just copy the whole user folder to the desktop of the other user. Then all files will be availabel.
    Once the above is done, log back into the user you want to keep. For iTunes, open the application and import the music from the exported music file you did earlier. Then all music should be in one library.
    Next, copy or move any files from the other files or user folder you copied to the desktop.
    Once all is done and working OK, then just delete the other account and all files on the desktop no longer needed.

  • Need help on array list.

    * Write an application that reads daily temperatures for 12 months and allows
    * the user to get statistics. Support at least three options: monthly average
    * of a given month, yearly average, and lowest and highest temperatures of a
    * given month. Use a text file to store temperatures. A line in the text file
    * contains daily temperatures for one month. The first line in the text file
    * contains temperatures for January; the second line, those for February; and
    * so forth. Using StringTokenizer to parse a line into temperatures of type
    * float. For a data structure, consider using either an array of Month or a
    * two-dimensional array of float. Month is a class you define yourself.
    import java.io.*;
    import java.util.*;
    import java.text.*;
    class homeWork6 {
        public static void main( String[] args) throws IOException {
            File inFile = new File("templog.txt");
            FileReader fileReader = new FileReader(inFile);
            BufferedReader bufReader = new BufferedReader(fileReader);
            DecimalFormat df = new DecimalFormat("0.00");
            float[] days = new float[31];
            String[] monthName = { "Jan", "Feb", "Mar", "Apr", "May", "June",
            "July", "Aug", "Sept", "Oct", "Nov", "Dec" };
            float min = 0, max = 0, avgy = 0, sumy = 0;
            for(int i = 0; i < 12; i++) {
                String str = bufReader.readLine();
                StringTokenizer parser = new StringTokenizer(str);
                int count = 0;
                while(parser.hasMoreTokens()) {
                    String next = parser.nextToken();
                    float newvar = Float.parseFloat(next);
                    days [count]= newvar;
                    count++;
                Month data;
                data = new Month();
                max = days[0];
                min = days[0];
                for(int j = 0; j < 31; j++) {
                    data.setTemp(days[j]);
                    //System.out.println(data.getTemp());
                    if (max < days[j]){
                        max = days[j];
                    data.setMax(max);
                    if (min > days[j]){
                        min = days[j];
                    data.setMin(min);
                System.out.println(monthName[i] + ": AVG = " + df.format(data.getAvgM()) + " MIN = " + df.format(data.getMin()) + " MAX = " + df.format(data.getMax()));
                sumy += data.getAvgM();
            avgy = sumy / 12;
            System.out.println("Yearly: AVG = " + df.format(avgy));
    /*        Scanner scanner = new Scanner(System.in);
            System.out.println("Home Work 6");
            System.out.println("Please choose one of the following options:");
            System.out.println("(1) Monthly Average");
            System.out.println("(2) Monthly Lowest/Highest");
            System.out.println("(3) Yearly Average");
            System.out.println("");
            int answer = scanner.nextInt();
            if (answer == 1){
                System.out.println("Monthly AVG List");
            else if (answer == 2){
                System.out.println("Monthly MIN/MAX List");
            else{
                System.out.println("Yearly Average is: " + df.format(avgy));
            bufReader.close();
    class Month {
        float temp, summ, avgm, sumy, avgy, min1, max1;
        public void setTemp(float days) {
            temp = days;
            summ += temp;
        public void setMax(float max) {
            max1 = max;
        public void setMin(float min) {
            min1 = min;
        public float getTemp() {
            return temp;
        public float getAvgM() {
            avgm = summ / 31;
            return avgm;
        public float getMax() {
            return max1;
        public float getMin() {
            return min1;
    }My question is, how do I make the AVG, MIN, & MAX data show up on this lines.
            if (answer == 1){
                System.out.println("Monthly AVG List");
            else if (answer == 2){
                System.out.println("Monthly MIN/MAX List");
            }Please give me a hint! Or lead me the right way, thanks!

    At the end of your "FOR" loop, immediately after populating "sumy" variable, you can populate an "Array" of Monthly Averages" by calling the same method "data.getAvgM(). This array has to be declared outside the loop (at the beginning of the class). Then, you can iterate through this array and print out the values at the location you want (when the answer == 1).
    Likewise, you can print the Monthly Min and Max too.
    Hope this helps.

  • IMovie HD/08: Need help merging projects from both versions.

    I have some video that was imported using iMovie HD6 (saved to my internal hard drive with some editing already done) and some using iMovie 08. (Save to an external hard drive and unedited). I realized later that iMovie 08 lacks features available on iMovie HD6. I would like to move all video to my external hard drive and merge my projects. I would then like to edit the whole thing on iMovie HD6. I've noticed that I can simply drag my iMovie 08 project directly into iMovie HD6 and directly into my other project. However, it wants to save it to my internal hard drive. (No where near enough space on my internal drive for that). Is it safe to assume that if I were to move my iMovie HD6 project onto my external drive that it would then attempt to import/merge my iMovie 08 project keeping it on my external drive? Also, do I run a risk of losing any editing already done to my iMovie HD6 project if I move it to my external drive? If not, is there a right or wrong way to move it? Also, my external drive is connected to my computer via USB. Am I going to have any problems editing from my external drive because of that?

    I am trying to transfer a movie project I made on my work computer (MacBook Pro, iMovie '08) to my home computer (iMovie HD, iBook). I've transferred the files using a Lacie, but when I open iMovie HD on my personal computer, it does not let me open the project I desire.
    As you have already found, iMovie '08 projects, as such, are not backwards compatible with previous versions of iMovie. iMovie '08's project basically consists of a list of instructions detailing how a project is to be exported while previous versions of iMovie actually rendered physical file segments ordered properly in a physical timeline reference file.
    I can import, but not the whole file, it keeps putting items in the trash. I have exported Mobile, Medium, and Large files.
    Basically you have two options. You can either import your raw footage (the Event clips) and "re-create" a project in iMovie HD or export your iMovie '08 project, complete with edits to an HD compatible format (e.g., DV or AIC/AIFF) and import this file into iMovie HD. Unfortunately, this latter approach will not allow you to "manipulate" your previous edits.
    Basically, I want to be able to open the file in iMovie, in case I wanted to duplicate it or edit it.
    As indicated above, you can import iMovie '08 shared/exported files to iMovie HD but you then have to edit them as source files. To remove a previous edit, you would literally have to delete it from your new project in order to add another.
    I also want to be able to continue burning copies of this movie slideshow to DVD (I created a DVD project using iDVD).
    Previously authored and burned DVDs can be copy-burned by applications like Toast or used to create stored "image" files that can be used to burn new DVDs on an as needed basis in the Mac OS "Burn" folder or using the Disk Utility application. In fact the "image" file can also be created for this purpose from within iDVD.

  • Need help-merge free partition

    how can i merge that? please any help
    thx...

    any one please... i can't update software cuse it's full

Maybe you are looking for

  • Can I install Tiger on a G4 using Mac Pro or MacBook Pro install discs?

    I gave my old G4 dual500MHz processor running system 9.2.2 to my brother some time ago and he really wants to upgrade to tiger. I bought a copy of Tiger when it first came out but I have lost the disc. I currently have 3 macs and they're all intel ma

  • Idoc Schedule in SAP

    I want to schedule the MATMAS Idoc in SAP once in a day and send the changed attributes like Item cost to the external system so please let me know how to handle this scenario. <removed_by_moderator> Thanks, Sridevi. Edited by: Julius Bussche on Aug

  • Dynamic User for a Task

    Hello, I want to know if it is possible to determine dynamically the user for a task? An example is an approval process (Depending on the user information determine how is the approver and send the task for that user). Thanks & Regards SU

  • Send/receive IDOCs to SOLMAN system using AS2 protocol!

    Hi All, I want to send/receive IDOC file to/from web based SOLMAN system. Currently I'm using FTP server to send/receive IDOC file. As of now the current process is to send the IDOCs from ECC to FTP server and from FTP to third party and vice-versa.

  • Macbook pro cannot find CD burn software?

    Hi, I have a SuperDrive and just want to burn a CD from iTunes playlist but it can't find the burn software?  It the latest MBP so it 'should' be there, no?