More ! Help needed

Hey guys. I have all my music in my iTunes main library, but why is that every now and then when im playing (which is usually just on a big random play) do i keep getting ! next to certain song? It skips over the songs and comes up with the ! and then when i try to open them it tells me that i have to locate the file myself.
Now if i continually were changing file locations i would understand but all my music goes into one folder which i never change in any way (except, obviously to add more files) and the songs that it happens to always seems random.
Is there a patch or something for this or is my computer just poo?
Thanks in advance

You get exclamation marks or dead tracks because iTunes can’t find the file. This can happen for a number of reasons:
The song file or a folder in its path was renamed
The song file or the folder it is in has been moved
The song file has been deleted
The device containing the song files e.g. external drive is not accessible.
When you get an exclamation mark against a track, can you find it some where else on your PC? It seems most likey that another program is organising your music for you, Windows Media Player for example. It would be worth checking your options in WMP. If it is monitoring your iTunes Music folder, it may be messing it up?

Similar Messages

  • More help needed on m2v problems!

    I have also been having problems when I try to import compressed (using Compressor) video files in SP 4. I have repaired file permissions and shortened the name of the file (as recommended in previous posts), but every time I try to import the file into SP, it closes the program and gives me an error report. When I try to open the file by itself, if opens Droplet. When I hit "submit," it freezes the program. Also, other compressed video files (that I have burned DVD's with in the recent past) don't work. They all do the same thing. It was all working fine last week (about two months after I upgraded Production Suite), and all of a sudden it's making me loose hair.
    Another thing I should mention: I have very little space left (1.89 GB) on my internal hard drive. This filled up very quickly, and I'm not quite sure how. When I started my computer yesterday, I had 5.5 GB. Before that, I had even more, though I'm hazy on the details. Anyway, I would GREATLY appreciate any help that's out there! Thanks!

    One thing (which may or may not help) is clearing off you hard drive, 1.89 Gigs on 80 Gigs will lead to the computer slowing down considerably, anything over 80% seems to be the number of more problems creeping up, and you should clear out as much as possible. With temp files, virtual memoory etc, it causes issues

  • MAC OS-X Lion and Error 51 - More help needed

    There has been a great thread on this that was previously marked answered and closed.  It refers to the a great article written by Anders Brownworth and includes a link to a tool to decrypt the "shared key" embedded in the PCF file sent by my company.
    The decoder that Anders refers to will not properly decrypt the code from my PCF file and the client on my MAC responds with "The VPN Shared Secret is incorrect."
    It looks like I am really close to making a connection, but I can't get past this error. 
    Is there no way to just import the PCF file into the MAC client? 

    Hello Robert,
    In Windows 7 you would need to use the Cisco IPsec client which operates the same way as it does in XP with regards to the pcf.  So I am not sure why you are having trouble with Win7, if you are still having trouble with Win7 using the Cisco IPsec client please start a new thread for that specific issue as it is separate and distinct from Mac OS X and using the Mac OS X built in client.
    Did you follow this guide:
    http://anders.com/guides/native-cisco-vpn-on-mac-os-x/
    Thanks tomas.truchly.
    I have not heard of an issue with the Mac OS X Built-in client when properly configured and when the head-end has the security levels necessary.
    Also, since this thread has been Answered, to help ensure you get the help you need it might be best to open a new thread.
    -Craig

  • Some more help needed.

    Hi,
    I'm back again.
    This time I need help with just one part of the code for my program.
    right now in part of my code I have it ask for a name, but now I want to put in an if statement and see if soemone writes a number instead of a letter. I can't find that code anywhere, so can anyone help with this?
    Thanks.

    Even though I'm 11 I am trying to obtain madcore Java skillz.
    I don't understand what you said in that program. I have this:
    class majorAssignment {
      public static void main (String[] args) {
        //Introduction to Pinkerton
        System.out.println("Welcome to the Christopher Walken paycheck calculator, aka: 'The Walken Experience'.");
        System.out.println("Please make sure that what you input into The Walken Experience is exactly what he asks for... Or else you'll find a pile of your own organs knocking at your door.");
        System.out.println("The Walken Experience: Hello, \n Now scootch over and tell me your first name. Please. Do not make me tell you again. About the scootching.");
           //Lets be greedy and grab someone's personal information
           String familyName = In.getString();
             if (familyName
                 //run
             else
                //runHow can I fit it in like that?

  • More help needed  re: playlists and restoring ipods

    we have our songs on two ipods, and we need them tobe in better order re: dance music, country, rock, etc..
    i know we can create a playlist in itunes...whats the best way to get them on the ipod this way.
    delete all on the ipod, and then add the playlists the way we want them?
    Or can we move them around without deleting stuff? Need the easiest (fastest way)

    ok...we had someone at the apple store check out our ipods, and they said "they're a mess...better off restoring them"
    so, when I plug the ipod into the pc, there will be an option to restore to default...then once I create my playlists, they'll go into the ipod the new way.

  • More help needed with GUI

    When running the code below,
    I get this error;
    Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container
         at java.awt.Container.addImpl(Container.java:1022)
         at java.awt.Container.add(Container.java:352)
         at ExamScore.main(ExamScore.java:253)
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.:
    If I compile it I get no erros.
    Can someone please help me, will be much appreciated.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.text.*;
    import com.jgoodies.forms.layout.*;
    class ExamScore extends JFrame {
    //public static void main(String[] args) {                    
    // ExamScore window = new ExamScore();
    // window.setVisible(true);
         public ExamScore()
              // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
              // Generated using JFormDesigner Evaluation license - James Petidis
              ExamScores = new JPanel();
              lblHeading = new JLabel();
              btnEnterGrades = new JButton();
              btnReset = new JButton();
              btnAbout = new JButton();
              lblGradeA = new JLabel();
              txtTotalNumberA = new JTextField();
              txtPercentageA = new JTextField();
              lblGradeB = new JLabel();
              txtTotalNumberB = new JTextField();
              txtPercentageB = new JTextField();
              lblGradeC = new JLabel();
              txtTotalNumberC = new JTextField();
              txtPercentageC = new JTextField();
              lblGradeD = new JLabel();
              txtTotalNumberD = new JTextField();
              txtPercentageD = new JTextField();
              lblGradeF = new JLabel();
              txtTotalNumberF = new JTextField();
              txtPercentageF = new JTextField();
              lblTotalScores = new JLabel();
              txtTotalScores = new JTextField();
              lblMaxScore = new JLabel();
              txtMaxScore = new JTextField();
              lblMinScore = new JLabel();
              txtMinScore = new JTextField();
              lblAvgScore = new JLabel();
              txtAverageScore = new JTextField();
              CellConstraints cc = new CellConstraints();
              //======== ExamScores ========
                   ExamScores.setBackground(new Color(255, 255, 204));
                   // JFormDesigner evaluation mark
                   ExamScores.setBorder(new javax.swing.border.CompoundBorder(
                        new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                             "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                             javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
                             java.awt.Color.red), ExamScores.getBorder())); ExamScores.addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}});
                   ExamScores.setLayout(new FormLayout(
                        "3*(default, $lcgap), 43dlu, 2*($lcgap, default), 2*($lcgap, 57dlu), 2*(default, $lcgap), 2*($lcgap, default)",
                        "13*(default, $lgap), 16dlu, $lgap, default"));
                   //---- lblHeading ----
                   lblHeading.setText(" Exam Score Reader");
                   lblHeading.setFont(new Font("Tahoma", Font.PLAIN, 24));
                   ExamScores.add(lblHeading, cc.xywh(9, 1, 5, 1));
                   //---- btnEnterGrades ----
                   btnEnterGrades.setText("Enter Grades");
                   ExamScores.add(btnEnterGrades, cc.xy(9, 5));
                   //---- btnReset ----
                   btnReset.setText("Reset");
                   ExamScores.add(btnReset, cc.xy(11, 5));
                   //---- btnAbout ----
                   btnAbout.setText("About");
                   ExamScores.add(btnAbout, cc.xy(13, 5));
                   //---- lblGradeA ----
                   lblGradeA.setText("Total Number / Percentage Of A's = ");
                   ExamScores.add(lblGradeA, cc.xy(9, 11));
                   //---- txtTotalNumberA ----
                   txtTotalNumberA.setEditable(false);
                   txtTotalNumberA.setEnabled(false);
                   ExamScores.add(txtTotalNumberA, cc.xy(11, 11));
                   //---- txtPercentageA ----
                   txtPercentageA.setEnabled(false);
                   txtPercentageA.setEditable(false);
                   ExamScores.add(txtPercentageA, cc.xy(13, 11));
                   //---- lblGradeB ----
                   lblGradeB.setText("Total Number / Percentage Of B's = ");
                   ExamScores.add(lblGradeB, cc.xy(9, 13));
                   //---- txtTotalNumberB ----
                   txtTotalNumberB.setEnabled(false);
                   txtTotalNumberB.setEditable(false);
                   ExamScores.add(txtTotalNumberB, cc.xy(11, 13));
                   //---- txtPercentageB ----
                   txtPercentageB.setEnabled(false);
                   txtPercentageB.setEditable(false);
                   ExamScores.add(txtPercentageB, cc.xy(13, 13));
                   //---- lblGradeC ----
                   lblGradeC.setText("Total Number / Percentage Of C's = ");
                   ExamScores.add(lblGradeC, cc.xy(9, 15));
                   //---- txtTotalNumberC ----
                   txtTotalNumberC.setEnabled(false);
                   ExamScores.add(txtTotalNumberC, cc.xy(11, 15));
                   //---- txtPercentageC ----
                   txtPercentageC.setEnabled(false);
                   txtPercentageC.setEditable(false);
                   ExamScores.add(txtPercentageC, cc.xy(13, 15));
                   //---- lblGradeD ----
                   lblGradeD.setText("Total Number / Percentage Of D's = ");
                   ExamScores.add(lblGradeD, cc.xy(9, 17));
                   //---- txtTotalNumberD ----
                   txtTotalNumberD.setEnabled(false);
                   txtTotalNumberD.setEditable(false);
                   ExamScores.add(txtTotalNumberD, cc.xy(11, 17));
                   //---- txtPercentageD ----
                   txtPercentageD.setEnabled(false);
                   txtPercentageD.setEditable(false);
                   ExamScores.add(txtPercentageD, cc.xy(13, 17));
                   //---- lblGradeF ----
                   lblGradeF.setText("Total Number / Percentage Of F's = ");
                   ExamScores.add(lblGradeF, cc.xy(9, 19));
                   //---- txtTotalNumberF ----
                   txtTotalNumberF.setEnabled(false);
                   txtTotalNumberF.setEditable(false);
                   ExamScores.add(txtTotalNumberF, cc.xy(11, 19));
                   //---- txtPercentageF ----
                   txtPercentageF.setEnabled(false);
                   txtPercentageF.setEditable(false);
                   ExamScores.add(txtPercentageF, cc.xy(13, 19));
                   //---- lblTotalScores ----
                   lblTotalScores.setText("Total Number Of Scores =");
                   ExamScores.add(lblTotalScores, cc.xy(9, 21));
                   //---- txtTotalScores ----
                   txtTotalScores.setEditable(false);
                   txtTotalScores.setEnabled(false);
                   ExamScores.add(txtTotalScores, cc.xy(11, 21));
                   //---- lblMaxScore ----
                   lblMaxScore.setText("Highest Score:");
                   ExamScores.add(lblMaxScore, cc.xy(9, 23));
                   //---- txtMaxScore ----
                   txtMaxScore.setEditable(false);
                   txtMaxScore.setEnabled(false);
                   ExamScores.add(txtMaxScore, cc.xy(11, 23));
                   //---- lblMinScore ----
                   lblMinScore.setText("Lowest Score:");
                   ExamScores.add(lblMinScore, cc.xy(9, 25));
                   //---- txtMinScore ----
                   txtMinScore.setEditable(false);
                   txtMinScore.setEnabled(false);
                   ExamScores.add(txtMinScore, cc.xy(11, 25));
                   //---- lblAvgScore ----
                   lblAvgScore.setText("Average Score:");
                   ExamScores.add(lblAvgScore, cc.xy(9, 27));
                   //---- txtAverageScore ----
                   txtAverageScore.setEditable(false);
                   txtAverageScore.setEnabled(false);
                   ExamScores.add(txtAverageScore, cc.xy(11, 27));
              // JFormDesigner - End of component initialization //GEN-END:initComponents
         private JPanel ExamScores;
         private JLabel lblHeading;
         private JButton btnEnterGrades;
         private JButton btnReset;
         private JButton btnAbout;
         private JLabel lblGradeA;
         private JTextField txtTotalNumberA;
         private JTextField txtPercentageA;
         private JLabel lblGradeB;
         private JTextField txtTotalNumberB;
         private JTextField txtPercentageB;
         private JLabel lblGradeC;
         private JTextField txtTotalNumberC;
         private JTextField txtPercentageC;
         private JLabel lblGradeD;
         private JTextField txtTotalNumberD;
         private JTextField txtPercentageD;
         private JLabel lblGradeF;
         private JTextField txtTotalNumberF;
         private JTextField txtPercentageF;
         private JLabel lblTotalScores;
         private JTextField txtTotalScores;
         private JLabel lblMaxScore;
         private JTextField txtMaxScore;
         private JLabel lblMinScore;
         private JTextField txtMinScore;
         private JLabel lblAvgScore;
         private JTextField txtAverageScore;
         // JFormDesigner - End of variables declaration //GEN-END:variables
    public static void main(String[] args)
    ExamScore window = new ExamScore();
    // window.setVisible(true); // you can't make a JPanel visible on its own
    JFrame frame = new JFrame("My Designer"); // JFrames can be made visible on their own
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //so the program will end when the JFrame is closed
    frame.getContentPane().add(window); // *** add our JPanel into the JFrame here
    frame.pack(); // size the panel and frame correctly
    frame.setLocationRelativeTo(null); // place frame in the center
    frame.setVisible(true); // show it all
    Note: I have imported the jgoodies.from.layout by adding the com.jgoodies.forms.layout folder into the directory where the .java file is kept. That seems to be working ok!
    Edited by: Petidiz on Sep 10, 2008 8:00 PM

    I made this change to the end of the coding
    ExamScore window = new ExamScore();
    // window.setVisible(true); // you can't make a JPanel visible on its own
    JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT));//("My Designer"); // JFrames can be made visible on their own
    //panel.setDefaultCloseOperation(JPanel.EXIT_ON_CLOSE); //so the program will end when the JFrame is closed
    //panel.getContentPane().add(window); // *** add our JPanel into the JFrame here
    //panel.pack(); // size the panel and frame correctly
    // panel.setLocationRelativeTo(null); // place frame in the center
    panel.setVisible(true); // show it all
    But still no display, if you could help me with the coding to get it correct I would be very apprecitive..i am a complete noob in java.

  • More help needed with download of 1.0

    I have downloaded the old 1.0 several times. When I run the setup.exe is says it is the 2006- one. That is the 1.1 file that I don't want. How do I get to the 2005-11-01 1.0 file? Thanks

    I couldn't find a copy of the software online, so I uploaded it to one of my webspaces.
    If you get this message, reply with a time and date when you can be avalable to download it, and I'll post you a link.

  • I have a licence code for Adobe CS6 Master Collection which I'm using for more  than a year, suddeny I am in trial mode (all programs)  an it seems that this code is not accepted anymore. Help needed!!

    I have a licence code for Adobe CS6 Master Collection which I'm using for more  than a year, suddeny I am in trial mode (all programs)  an it seems that this code is not accepted anymore. Help needed!!

    Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Need more help with a GUI

    It's the ever popular Inventory program again! I'm creating a GUI to display the information contained within an array of objects which, in this case, represent compact discs. I've received some good help from other's posts on this project since it seems there's a few of us working on the same one but now, since each person working on this project has programmed theirs differently, I'm stuck. I'm not sure how to proceed with my ActionListeners for the buttons I've created.
    Here's my code:
    // GUICDInventory.java
    // uses CD class
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class GUICDInventory extends JFrame
         protected JPanel panel; //panel to hold buttons
         protected JPanel cdImage; // panel to hold image
         int displayElement = 0;
         public String display(int element)
                   return CD2[element].toString();
              }//end method
         public static void main( String args[] )
              new GUICDInventory();
         }// end main
         public GUICDInventory()
              CD completeCDInventory[] = new CD2[ 5 ]; // creates a new 5 element array
             // populates array with objects that implement CD
             completeCDInventory[ 0 ] = new CD2( "Sixpence None the Richer" , "D121401" , 12 , 11.99, 1990 );
             completeCDInventory[ 1 ] = new CD2( "Clear" , "D126413" , 10 , 10.99, 1998 );
             completeCDInventory[ 2 ] = new CD2( "NewsBoys: Love Liberty Disco" , "2438-51720-2" , 10 , 12.99, 1999 );
             completeCDInventory[ 3 ] = new CD2( "Skillet: Hey You, I Love Your Soul" , "D122966" , 9 , 9.99, 1998 );
             completeCDInventory[ 4 ] = new CD2( "Michael Sweet: Real" , "020831-1376-204" , 15 , 12.99, 1995 );
             //declares totalInventoryValue variable
                 double totalInventoryValue = CD.calculateTotalInventory( completeCDInventory );
              final JTextArea textArea = new JTextArea(display(displayElement));
              final JButton prevBtn = new JButton("Previous");
              final JButton nextBtn = new JButton("Next");
              final JButton lastBtn = new JButton("Last");
              final JButton firstBtn = new JButton("First");
              prevBtn.addActionListener(new ActionListener()
                    public void actionPerformed(ActionEvent ae)
                        displayElement = (//what goe here? ) % //what goes here?
                        textArea.setText(display(displayElement));// <--is this right?
              nextBtn.addActionListener(new ActionListener()
                    public void actionPerformed(ActionEvent ae)
                          displayElement = (//what goes here? ) % //what goes here?
                        textArea.setText(display(displayElement));// <--is this right?
              firstBtn.addActionListener(new ActionListener()
                    public void actionPerformed(ActionEvent ae)
                        displayElement = 0;
                        textArea.setText(display(displayElement));// <--is this right?
              lastBtn.addActionListener(new ActionListener()
                    public void actionPerformed(ActionEvent ae)
                        displayElement = //what goes here?;
                        textArea.setText(display(displayElement));// <--is this right?
              JPanel panel = new JPanel(new GridLayout(1,2));
              panel.add(firstBtn); panel.add(nextBtn); panel.add(prevBtn); panel.add(lastBtn);
              JPanel cdImage = new JPanel(new BorderLayout());
              cdImage.setPreferredSize(new Dimension(600,400));
              JFrame      cdFrame = new JFrame();
              cdFrame.getContentPane().add(new JScrollPane(textArea),BorderLayout.CENTER);
              cdFrame.getContentPane().add(panel,BorderLayout.SOUTH);
              cdFrame.getContentPane().add(new JLabel("",new ImageIcon("cd.gif"),JLabel.CENTER),BorderLayout.NORTH);
              cdFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              cdFrame.pack();
              cdFrame.setSize(500,200);
              cdFrame.setTitle("Compact Disc Inventory");
              cdFrame.setLocationRelativeTo(null);
              cdFrame.setVisible(true);
         }//end GUICDInventory constructor
    } // end class GUICDInventory
    // CD2.java
    // subclass of CD
    public class CD2 extends CD
         protected int copyrightDate; // CDs copyright date variable declaration
         private double price2;
         // constructor
         public CD2( String title, String prodNumber, double numStock, double price, int copyrightDate )
              // explicit call to superclass CD constructor
              super( title, prodNumber, numStock, price );
              this.copyrightDate = copyrightDate;
         }// end constructor
         public double getInventoryValue() // modified subclass method to add restocking fee
            price2 = price + price * 0.05;
            return numStock * price2;
        } //end getInventoryValue
        // Returns a formated String contains the information about any particular item of inventory
        public String displayInventory() // modified subclass display method
              return String.format("\n%-22s%s\n%-22s%d\n%-22s%s\n%-22s%.2f\n%-22s%s%.2f\n%-22s%s%.2f\n%-22s%s%.2f\n  \n" ,
                                       "CD Title:", title, "Copyright Date:", copyrightDate, "Product Number:", prodNumber , "Number in Stock:",
                                       numStock , "CD Price:" , "$" , price , "Restocking fee (5%):", "$", price*0.05, "Inventory Value:" , "$" ,
                                       getInventoryValue() );
         } // end method
    }//end class CD2
    // CD.java
    // Represents a compact disc object
    import java.util.Arrays;
    class CD implements Comparable
        protected String title; // CD title (name of product)
        protected String prodNumber; // CD product number
        protected double numStock; // CD stock number
        protected double price; // price of CD
        protected double inventoryValue; //number of units in stock times price of each unit
        // constructor initializes CD information
        public CD( String title, String prodNumber, double numStock, double price )
            this.title = title; // Artist: album name
            this.prodNumber = prodNumber; //product number
            this.numStock = numStock; // number of CDs in stock
            this.price = price; //price per CD
        } // end constructor
        public double getInventoryValue()
            return numStock * price;
        } //end getInventoryValue
        //Returns a formated String contains the information about any particular item of inventory
        public String displayInventory()
              //return the formated String containing the complete information about CD
            return String.format("\n%-22s%s\n%-22s%s\n%-22s%.2f\n%-22s%s%.2f\n%-22s%s%.2f\n%-22s%s%.2f\n  \n" ,
                                       "CD Title:", title, "Product Number:", prodNumber , "Number in Stock:",
                                       numStock , "CD Price:" , "$" , price , "Restocking fee (5%):", "$", price*0.05, "Inventory Value:" , "$" ,
                                       getInventoryValue() );
        } // end method
        //method to calculate the total inventory of the array of objects
        public static double calculateTotalInventory( CD completeCDInventory[] )
            double totalInventoryValue = 0;
            for ( int count = 0; count < completeCDInventory.length; count++ )
                 totalInventoryValue += completeCDInventory[count].getInventoryValue();
            } // end for
            return totalInventoryValue;
        } // end calculateTotalInventory
         // Method to return the String containing the Information about Inventory's Item
         //as appear in array (non-sorted)
        public static String displayTotalInventory( CD completeCDInventory[] )
              //string which is to be returned from the method containing the complete inventory's information
              String retInfo = "\nInventory of CDs (unsorted):\n";
              //loop to go through complete array
              for ( int count = 0; count < completeCDInventory.length; count++ )
                   retInfo = retInfo + "Item# " + (count + 1);          //add the item number in String
                   retInfo = retInfo + completeCDInventory[count].displayInventory();     //add the inventory detail in String
              }// end for
              return retInfo;          //return the String containing complete detail of Inventory
        }// end displayTotalInventory
         public int compareTo( Object obj ) //overlaod compareTo method
              CD tmp = ( CD )obj;
              if( this.title.compareTo( tmp.title ) < 0 )
                   return -1; //instance lt received
              else if( this.title.compareTo( tmp.title ) > 0 )
                   return 1; //instance gt received
              return 0; //instance == received
              }// end compareTo method
         //Method to return the String containing the Information about Inventory's Item
         // in sorted order (sorted by title)
         public static String sortedCDInventory( CD completeCDInventory[] )
              //string which is to be returned from the method containing the complete inventory's information
              String retInfo = "\nInventory of CDs (sorted by title):\n";
              Arrays.sort( completeCDInventory ); // sort array
              //loop to go through complete array
              for( int count = 0; count < completeCDInventory.length; count++ )
                   retInfo = retInfo + "Item# " + (count + 1);     //add the item number in String
                   retInfo = retInfo + completeCDInventory[count].displayInventory(); //add the inventory detail in String
              return retInfo;     //return the String containing complete detail of Inventory
         } // end method sortedCDInventory
    } // end class CD

    nextBtn.addActionListener(new ActionListener()
         public void actionPerformed(ActionEvent ae)
                   displayElement = (//what goes here? ) % //what goes here?
                   textArea.setText(display(displayElement));// <--is this right?
    });Above is your code for the "Next" button.
    You ask the question "What goes here"? Well what do you think goes there?
    If you are looking at item 1 and you press the "Next" button do you not want to look at item 2?
    So the obvious solution would be to add 1 to the previous item value. Does that not make sense? What problem do you have when you try that code?????
    Next you say "Is this right"? Well how are we supposed to know? You wrote the code. We don't know what the code is supposed to do. Again you try it. If it doesn't work then describe the problem you are having. I for one can't execute your code because I don't use JDK5. So looking at the code it looks reasonable, but I can't tell by looking at it what is wrong. Only you can add debug statements in the code to see whats happening.
    If you want help learn to as a proper question and doen't expect us to spoon feed the code to you. This is your assignment, not ours. We are under no obligation to debug and write the code for you. The sooner you learn that, the more help you will receive.

  • HT1349 Online Support Needs to be More Helpful

    How can i locate the serial number if I dont have the packaging in front of me and my phone wont turn on. No time run to the store right now. Can online support be more helpful?

    How to find the serial number of your Apple hardware product

  • Ideas or help needed for a simple, robust pluggable framework

    Hi all,
    Having written a fairly decent plugin engine, similar in concept to the Eclipse plugin engine, although at a more generic scale, I am looking for any possible ideas for a Java Swing framework that is built around the engine, with the concept of using a framework that is built on mostly plugins. My engine handles, or will soon handle, a number of features to make the engine robust enough, yet still easy enough, to use for just about any purpose.
    The engine is pretty simple, although with a bit more work I feel will be overall a pretty robust and powerful plugin engine. Each plugin is made up of one or more "services". A plugin is a .jar file that contains a plugin-conf.xml config file, the classes that implement the Service interface, and any supporting classes. The "plugin" is really the package of one or more services and supporting classes. The engine will handle the ability to work with expanded dir structures as well, so that the build process doesn't have to create .jar files on every build of a plugin. The engine has built in support to load, unload and reload a plugin at runtime. This helps during development by allowing auto-reload of a plugin service without having to restart the app. The engine has the ability to "watch" URLs in a separate thread (still working on this), and at given intervals if a change occurs to any plugin, that plugin is reloaded. This is configurable on a per plugin basis in the config file.
    Every plugin .jar file gets its own classloader instance. Because of the nature of a framework that may rely heavily on plugins, it will be very common to have plugin dependencies, where a plugin service may rely on one or more other plugin services. The dependencies are configured in the plugin-conf.xml file, and the engine resolves these when the plugin is loaded, automatically. Once all plugins have been loaded, an "init" call is made that then goes and resolves all plugin service dependencies, setting up the behind the scenes work to make sure any service can use any other service it defines to depend on. Another area is plugin versions. There will no doubt be a time when some sort of application may have legacy plugins, but also have newer plugins. For example, an application built on a "core" set of plugins, may eventually update the core plugins with newer versions. The engine allows the "old" plugins to exist and work while new versions of the same plugins may be loaded and working at the same time. This allows older plugins that depend on the old set of core plugins to work, while newer plugins that depend on the new core plugins may work also. Any plugin may depend on one or more services specified by specific versions, or a range of versions.
    Plugin services can define to be created when first loaded, or lazy instantiated. Ideally, an application would opt for lazy instantiation until a plugin is needed. For example, a number of plugins may need to add menu items or buttons that would trigger its service. The plugin does not actually need to be created until the menu or button is clicked on. There is one BIG problem with how this engine works though. Unlike the Eclipse (and other) engines where the config file defines the menu item(s), buttons, etc in an xml sort of language, this engine is built for generic use, and therefore is not specific to menu items or buttons triggering a service instantiation. Therefore, a little "hack" is required. A specific plugin that is created when first loaded will be required to set up all the menu items for specific plugins, then handle the actionPerformed() call to instruct the engine to create the service. The next step would be for the plugin service to add its own handler to the specific menu item it depends on, and remove the "old" handler the startup plugin added to it to handle the initial click. Another thought just struck me though. Because the engine must use an XML parser to load every plugin-conf.xml file, it might be possible to "extend" the parsing routine, where by an extending class could be added to the engine to parse plugin-conf.xml files. First the plugin engines own routine would parse it. Then, the extending class could parse for any extra plugin-conf.xml info, such as menu item settings, and directly set up the menu items and handlers in this manner. I will probably include this ability directly in the engine soon anyway, so that nobody else has to do this, but this is one area I would appreciate some feedback on.
    Anyway, so that is the jist of the engine. There is more to it under the hood, but that sums up a good part of it. Now, the pluggable framework, much like what the "shell" of eclipse, forte and so forth offer, is built around my engine to make it very easy to build Swing applications with a pluggable framework underneath. The idea is to package up a startup main class that is configurable, a number of useful plugins that other plugins could depend on, such as an Outlook layout, menuing, toolbars, drag/drop, history, undo/redo, macro record, open/save/search/find/replace dialogs, and so forth. This isn't just for an IDE though. The developer using the framework could deploy the basic app with the plugins of his/her choice, and add to it with his/her own plugins.
    Soooo, after this long post, what I am getting at is if anyone would be interested in helping out with ideas, feedback, testing, core framework plugins, and so forth. At this time I am keeping the code closed, but will probably public domain it, open source it, or whatever. The finished framework should make it easy for anyone to quickly build useable applications, and if all goes well, I'd like to set up a site with a location for 3rd party plugins to be uploaded, for download, comments, etc. Being a web developer, I myself will probably work on some plugins for Web Services, web stress testing, and so forth. I have lots of ideas for useable plugins.
    On that note, one application I am personally working on for my own use, is a simple yet possibly robust internet suite of apps. I want to incorporate FTP, Email, NewsGroup, and IRC/AOL IM/Yahoo IM/MSN IM/ICQ chat into a single app. Every aspect of it would be plugins. Frankly, I hate outlook, Eudora is alright, but I want to do some things with the email app. I also want a single IM/Chat app that can talk with all protocols (not an easy task, take a look at GAIM). Newsgroups are handy to work with for developers and others of interest, as is FTP. But even more so, being able to have all in one big application framework that allows them to share data between each other, work with one another, and so forth is appealing to me, and being written in Java it could potentially work on many platforms, giving some platforms a possible nice set of internet apps to use. Being able to send an email to a mailing list AND have it posted to specific newsgroups at the same time without having to copy/paste, open up separate applications and so forth has appeal. Directly emailing from any chat or newsgroup link without another app starting up is a little faster as well. Those are just "small" things that could prove to be very kewl in a complete internet app. Adding a web browser, well, I don't think I want to go that route. But if there is already a decent Java built web browser, it shouldn't be too hard to add it as a plugin.
    So, if anyone is interested, by all means, drop a post to this thread, let me know of interest, feedback, ideas, point out bad things, and so forth. I appreciate all forms of communication.
    Thanks.

    Yes I do. I am using it now with my work related project.
    I am in fact reworking the engine a bit now. I want to incorporate the notion of services (like OSGi) where by a plugin can register services. These services are "global" in scope, meaning any plugin may request the use of a service. However, services, unlike plugins, are not guaranteed to be available. Therefore, plugins using services must be coded to properly handle this possibility. As an example, imagine an email application using my engine. One plugin may provide the email gateway, including the javamail .jar library and provide the email service. Other plugins, such as the one that provides the functionality for the SEND button, would "use" this service. At runtime, when the send button was pressed it would ask the engine for the email service. If available, off goes the email. If not, it could pop up a dialog indicating some sort of message that the email service is not available.
    I am at the VERY beginning stages in this direction so I'd love to have ideas, thoughts, suggestions as to how this might be implemented. I do believe though that it will provide for a more powerful engine. The nice thing is, while the engine will support static runtime plugins, it will also support dynamic services that can come and go during the runtime. The key is that plugins using services do not maintain references to them, but instead query the engine each time a plugin needs to use a service.
    Static plugins are those that are guaranteed to be available or if not, any dependent plugin is not allowed to load. That is, if A depends on B and B is not able to be loaded, A is unloaded as well as it can't perform its job without B; it depends on B in some manner to complete its function. Imagine a plugin adding an option panel to the Preferences page only that the Preferences plugin is not loaded. It just can't work. However, with some work, there could be variations on this. That is, a plugin may provide a menu item as well as a preferences page. If the preference plugin is not available, then the plugin may simply still work via the menu item, but have no preferences panel available. This should be configurable via the plugin-conf.xml config file. However, as I have it now, using extension points and extensions like Eclipse does, it is also possible that if the Preferences plugin isn't loaded, it wont look for ANY extensions extending its extensino point, and therefore the plugins could all still run but there would simply be no preferences page. So, I am not entirely sure yet which way is best for this to work.
    My engine, as it stands now, allows for separate classloader plugin loading, it automatically resolves all dependencies by creating the plugin registry each time the engine is started up. To speed up plugin loading, it maintains a plugins.xml file in the root dir that keeps track of each plugin that was loaded and its last timestamp. Plugins can be open directory files or jarred up into .PAR files (think .WAR or .EAR files). The engine can find .par or open-dir plugins in multiple locations (including URL locations for direct .par files). When it finds a .par file, it first decompresses the .par file to a plugin work directory. Every plugin must have a plugin-conf.xml in its root dir, and either a /classes dir where compiled classes are, or a .jar file in the root path of the plugin, where the /classes dir superscedes the .jar file. Alternatively, anything in a /lib dir is automatically picked up as part of the plugin classpath. So a plugin that wraps the xerces.jar file can simply place the xerces.jar in the /lib dir and automatically present the xerces library to all dependent plugins (which can import the xerces classes but not need to distribute the xerces.jar file if a plugin they depend on has it in its /lib dir). The "parent lookup" process goes only one parent level deep. That is, if plugin A depends on a class in a /lib/*.jar file in plugin B, then the engine will resolve the class (through delegation) of plugin B. But if A depends on B, B depends on C where plugin C's /lib/*.jar file contains a class A is looking to use, this will not work and A will throw a ClassNotFoundException. In other words, the parent lookup only goes as far as the classpath of all dependent plugins, not up the chain of all dependent plugins. Eclipse allows each plugin to "export" various classes, or packages, or entire .jar files and the lookup can go all the way up the chain if need be. I haven't yet found a big reason for supporting this, so I am not too concerned with that at this point. The engine does support reloadable plugins although I have not yet implemented it. Because each plugin information object is stored in a Map keyed on the plugins GUID (found in the plugin-conf.xml file), it is easy enough to load a new plugin (since they get their own classloader) and replace the object at the GUID key and now have a reloaded plugin. The harder part is properly notifying all dependent plugins of the reload and what to do with them. Therefore I have not quite yet implemented this feature although the first step can easily be done, so long as nobody minds the "remnants" of older plugins laying around and possibly not being garbage collected.
    All of this works now, and I am using it. I do NOT have a generic UI framework just yet. I am working on that now. Eclipse has a very nice feature in that every plugin.xml file builds up the UI without any plugin code ever being created or ran. I am working on something like that now, although I am focussed more on the aspect of the engine at this point.
    Two things keep me going. First, the shear fun of working on this and seeing it succeed, even if a little bit. Second, while I love the idea of Eclipse, OSGi and other engines, so far I have yet to find one that is very easy to write plugins for, is very small, and is "generic" enough for any use. Some may argue JBoss core, at 29K can do this. I don't know if it can. It is built around JMX and I don't know that I agree JMX is the "ultimate" core plugin engine for all types of apps. Not that mine is either, but I'd like to see what I am working on become that if possible. Currently, with an xml parser (www.xmlpull.org) added as part of the code, my engine is about 40K with debug info, maybe about 28K without. I expect it to grow a bit more with services, reloadable/unloadable code, and some other stuff. However, I am thinking it will still be around 50K in size and in my opinion, with an xml read/write parser (very fast one at that), extension/extensino points, services, dependencies, multiple versions of plugins (soon), load/unload/reload capabilities, .par management (unjar into work dir, download .par files from urls, etc) and open directory capabilities, inidividual classloaders, automatic dependency resolution, dynamic dependency resolution and possibly even more, I think what my engine offers (and will offer) is pretty cool in my book.
    None the less, there is always room for improvement. One of the things I pride myself on is using as little code and keeping the code neat and easily readable, not to mention as non-archaic as possible, makes for an easily maintainable project.
    So, having said all that, YES, the engine can be used as is right now. It does not reload plugins, but you can dynamically load plugins, handle dependency resolution, have a very fast xml read/write parser at your disposal for any plugin, and for the most part easily write plugins. That is all possible now. I should put the engine I have now up on my generic-plugin-engine sourceforge project one of these days, perhaps soon I will do that! While I have no problem handing out the code, I am currently the only committer and I don't have it loaded into CVS at this point. I would like to do so very soon.
    So, if you are interested, by all means, let me know and I'll be happy to send you what I have, and love to have more help on the next version of this.

  • HELP NEEDED!! (please) CS6

    HELP NEEDED!  I have been working for 3 days in a "new doc". Of course i have saved several times (control+s)
    but i do not remember it asking me about file name or folder. Today my comp crashed and i do not find the file. Just found 2 files (a tmp and one with no extension)
    : one with 174 mg and another one with almost 2 gb. Is there any possibility to recover my work? Photoshop did not oppened a thing when i restarted comp
    Thanks in advance

    The TMP file is your Scratch Disk file, and cannot be "recovered" to an Image file.
    Your second file might be almost anything. Though designed more for video files, both G-Spot and MediaInfo (both free file info utilities), CAN read several Still Image file types, and might help point out what that file (the one with no extension) really is. OTOH, as it could be almost anything, it could be that there is no header info in the file, for either to read.
    Good luck,
    Hunt
    PS - Before I did much additional work, I would investigate WHY your computer shut down. If you are on a PC, I would go into Event Viewer, at the time of the shutdown, and see if you can track down any warning, or error messages, in both the System and Applications Tabs. I am pretty sure that a Mac has similar, but have not a clue where, or even what it would be called.

  • Help Needed - FusionFx Style - How do I remove the Dashboard Grey Box Section, so that Dashboard Background is Blank

    Help Needed - FusionFx Style - How do I remove the Dashboard Grey Box Section, so that Dashboard Background is Blank
    We like FusionFx Style but would like to keep the background white like blafp style.

    Can you be a little more descriptive on what you need here and explain what exactly you want to be changed.

  • Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verif

    Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verifying and repairing it but had no luck. I also tried mounting and unmounting it but still no solution. Anyone to help please?

    Looks bad. I would strongly advise backing up the stuff on the other two partitions as soon as possible in case the rest of the drive goes wrong.
    Beyond that, Disk Utility has limited abilities to repair disks, DiskWarrior uses a different approach and might, emphasis might be more successful. It has certainly done the job for me in the past when Disk Utility could not.
    See http://www.alsoft.com/diskwarrior/

  • URGENT HELP NEEDED ... Tomcat Realm and JRE1.4 plug-in problem

    I have tried the Security Realm of Tomcat. Since I do not have
    an LDAP server, I decided to use the Tomcat-users.xml file in
    Tomcat\conf directory.
    I added the following lines of code in the web.xml file.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE: This role is not present in the default users file -->
    <role-name>webviewer</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Tomcat Manager Application</realm-name>
    </login-config>
    The <role-name> "webviewer" is added into "Tomcat-Users.xml" as the following:
    <tomcat-users>
    <user name="test" password="password" roles="webviewer" />
    </tomcat-users>
    So, now when we type the url: http://localhost:8080/adbpdbre/default.htm, TOMCAT shows a dialog box asking for UserName: and Password:Now, only when we give the username and password, it shows the page. This is exactly what we want.
    But the problem now is, this default.htm page, has 5 links to 5 applets. The first time that I click on one of these links, the JRE plug of 1.4 shows a dialog again asking for the username and password. Till I dont provide the username and password the system doesnt go ahead and applet doesnt load. I do not want the JRE to ask me for the username/passwords again..How to avoid this ?
    Can you give me some more information on this. Ultimately in the production usage, we will be using LDAP and not Tomcat's memory realm.
    URGENT HELP NEEDED ... I need to get back to my client on this.
    Help would be v. much appreciated.

    In the config file, you 're essentially saying that you want Tomcat to prompt for usr/passw on every request (url-pattern = /*) made by a 'webviewer', and that's exactly what Tomcat is doing.
    Consider using specific url-patterns & roles for resources to be protected. If for now, all you need is to protect the first page, use a more specific url-pattern.
    Just an advice : if you'll be using LDAP in production, do not waste time with Tomcat's Security Realm and the BASIC authentication type, since the two have not much in common. Start reading doc on LDAP, and code a prototype, or even better, a vertical slice of the app (i.e a proof of concept).

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

Maybe you are looking for

  • Completion workflow in extended classic scenario

    Hi gurus, We use extended classic scenario with SRM Server 5.5. In ppoma, each purch org and purch groups has the local and the backend. Vendors are replicated to backend purch org and then also to the local purch org. I have seen that in classic sce

  • What CF Media Can Be Used In A PXW-X160?

    New owner of six (yep, 6!) PXW-X160's and like the cameras so far. I was quite encouraged when I opened the first box and saw a Sony MEAD-SD02 SD-toSxS adapter perched on top of the manuals.  However, no matter what CF cards I insert into the adapter

  • Websphere Application Server - MQ: JMS

    All, I have an MDB which dequeues a message, does some processing, and inserts data into the database. Now problem I am having here is, I am running my application on Websphere Application Server 5.1.1.5 using MQ 5.3. When I have under 15,000 message

  • Won't start after recent upgrade

    Started the recent upgrade. A depiction of the apple tv and usb cable connected on one end to tv and other end pointing to iTunes icon then showed up on the tv screen. Let run overnight and still will not connect. I am pretty sure battery in remote i

  • Connection Source

    I try to do a program using [Sun One Studio4] this program connect to the DataBase , I use [ConnectionSource] JDBC tool to connect to the DataBase and it work successfully in the [Sun One Studio4] environment . The problem is when I try to run the ma