What the heck am I doing wrong???

The error message I'm getting is the following: "week4_herbie must be defined in its own file" The problem that I'm running into is that the programs are supposed to work together. One (week4_herbie) handles the mortgage calculation itself (and set up the GUI) and send the information to the amoritizeFrame program, which is designed to display the amoritization table. The numericTextFrame is to make sure that the variable input is acceptable. Here is the coding:
week4_herbie
The Amortization Schedule was constructed with my own class called AmortFrame
that extends JFrame and a JTextArea that was added to a JScrollPane.
// Imports needed libraries
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
// Event handling:implements listener interface for receiving action events.
public class week4_herbie implements ActionListener
     // GUI Components
     JFrame calculatorFrame;
     JPanel calculatorPanel;
     AmortizeFrame amortFrame;   //local class for amortization schedule
     //  user input fields
     //  Loan amount entered as user text input from keyboard
     //  Term (in years) selected from a combo box
     //  Rate (%) selected from a combo box
     numericTextField loan;
     JComboBox rate;
     JComboBox term;
     // set up arrays for the selectable term and rate
    int[] loanTerm = new int[3];
    String[] loanTermString = new String[3];
    double[] loanRate = new double[3];
    String[] loanRateString = new String[3];
    // static variables, belong to class on not an instance
     static String sWindowTitle = "Brian's Week 3 - Mortgage Calculator";
     static String scolHeader = "Payment#\tPayment\tInterest\tCumInterest\tPrincipal\tBalance\n";
     static String slineOut = "________\t_______\t________\t___________\t_________\t_______\n";
     static String sfinalInstructions1 = "\nYou can leave windows open and enter new value or close either window to exit\n";
     JLabel loanLabel,termLabel, rateLabel, pmtLabel;
     JButton calculate;
    public week4_herbie()
          // Before progressing, read in the data
          if(readData())
               //Create and set up the window.
               calculatorFrame = new JFrame(sWindowTitle);
               calculatorFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
               // Set size of user input frame;
               calculatorFrame.setBounds(0,0,100,100);
               //Create and set up the panel with 4 rows and 4 columns.
               calculatorPanel = new JPanel(new GridLayout(4, 4));
               //Add the widgets.
               addWidgets();
               //Set the default button.
               calculatorFrame.getRootPane().setDefaultButton(calculate);
               //Add the panel to the window.
               calculatorFrame.getContentPane().add(calculatorPanel, BorderLayout.
               CENTER);
               //Display the window.
               calculatorFrame.pack();
               calculatorFrame.setVisible(true);
          }// good data read
    }// end constructor
    private boolean readData()
          boolean isValid = true;
        loanRateString[0] = "5.35%";
        loanRateString[1] = "5.5%";
        loanRateString[2] = "5.75%";
        loanTermString[0] = "7 Years";
        loanTermString[1] = "15 Years";
        loanTermString[2] = "30 Years";
        loanRate[0] = 5.35;
        loanRate[1] = 5.5;
        loanRate[2] = 5.75;
        loanTerm[0] = 7;
        loanTerm[1] = 15;
        loanTerm[2] = 30;
        return isValid;
     }// end readData
    // Creates and adds the widgets to the user input frame.
    private void addWidgets()
        // numericTextField is a JTextField with some error checking for
        // non  numeric values.
        loan = new numericTextField();
        rate = new JComboBox(loanRateString);
          term = new JComboBox(loanTermString);
        loanLabel = new JLabel("Loan Amount", SwingConstants.LEFT);
        termLabel = new JLabel(" Term ", SwingConstants.LEFT);
        rateLabel = new JLabel("  Interest Rate ", SwingConstants.LEFT);
        calculate = new JButton("Calculate");
        pmtLabel  = new JLabel("Monthly Payment", SwingConstants.LEFT);
        //Listen to events from the Calculate button.
        calculate.addActionListener(this);
        //Add the widgets to the container.
        calculatorPanel.add(loan);
        calculatorPanel.add(loanLabel);
        calculatorPanel.add(term);
        calculatorPanel.add(termLabel);
        calculatorPanel.add(rate);
        calculatorPanel.add(rateLabel);
        calculatorPanel.add(calculate);
        calculatorPanel.add(pmtLabel);
        //set label border size
        loanLabel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
        pmtLabel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
    } // end addWidgets
    // Event handling method invoked when an action occurs.
    // Processes each of the fields and includes error checking
    // to make sure each field has data in it and then calculates
    // actual payment.
    public void actionPerformed(ActionEvent event)
        double tamount = 0; //provides floating point for total amount of the loan
        int term1      = 0; //provides int for the term
        double rate1   = 0; //provides floating point for the percentage rate.
        // get string to test that user entered
            String testit = loan.getText();          // get user entered loan amount
            // if string is present
            if(testit.length() != 0)
               tamount = (double)(Double.parseDouble(testit)); // convert to double
               // first value valid - check second one, term value
               // get the index of the item the user selected
               // then get the actual value of the selection from the
               // loanTerm array
               int boxIndex = term.getSelectedIndex();
               if(boxIndex != -1)
                    term1 = loanTerm[boxIndex];
                    // second value valid - check third one, interest rate
                    // get the index of the item the user selected
                   // then get the actual value of the selection from the
                   // loanRate array
                   boxIndex = rate.getSelectedIndex();
                   // if something is selected in rate combo box
                    if(boxIndex != -1)
                        rate1 = loanRate[boxIndex];
                         // all three values were good so calculate the payment
                    double payment = ((tamount * (rate1/1200)) /
                                          (1 - Math.pow(1 + rate1/1200, -term1*12)));
                    // format string using a mask
                    java.text.DecimalFormat dec = new java.text.DecimalFormat(",###.00");
                    String pmt = dec.format(payment);
                    // change foreground color of font for this label
                    pmtLabel.setForeground(Color.green); //
                    // set formatted payment
                         pmtLabel.setText(pmt);
                         // generate the amortization schedule
                         amortize(tamount, rate1*.01, term1*12, payment);
                    else  //third value was bad
                         Toolkit.getDefaultToolkit().beep(); // invokes audible beep
                         pmtLabel.setForeground(Color.red);  // sets font color
                         pmtLabel.setText("Missing Field or bad value");  // Error Message
                    }// end validate third value
               else  // second value was bad
                    Toolkit.getDefaultToolkit().beep();
                    pmtLabel.setForeground(Color.red);
                    pmtLabel.setText("Missing Field or bad value");
               }// end validate second value
          else  // first value was bad
               Toolkit.getDefaultToolkit().beep();
               pmtLabel.setForeground(Color.red);
             pmtLabel.setText("Missing Field or bad value");
          }// end validate first value
    }// end actionPerformed
     // calculate the loan balance and interest paid for each payment over the
     // term of the loan and list it in a separate window - one line per payment.
     public void amortize(double principal, double APR, int term,
                          double monthlyPayment)
          double monthlyInterestRate = APR / 12;
          //double totalPayment = monthlyPayment * term;
          int payment = 1;
          double balance = principal;
          int num = 0;
          double monthlyInterest;
          double cumInterest = 0;
        // if the frame for the amortization schedule has not been created
        // yet, create it.
          if(amortFrame == null)
             amortFrame = new AmortizeFrame();
          // obtain a reference to our text area in our frame
          // and update this as we go through
          JTextArea amortText = amortFrame.getAmortText();
          // formatting mask
          java.text.DecimalFormat df= new java.text.DecimalFormat(",###.00");
          // set column header
          amortText.setText(scolHeader);
          amortText.append(slineOut);
          // loop through our amortization table and add to
          // JTextArea
          while(num < term)
               monthlyInterest = monthlyInterestRate * balance;
               cumInterest += monthlyInterest;
               principal = monthlyPayment - monthlyInterest;
               balance -= principal;
               //Show Amortization Schedule
               amortText.append(String.valueOf(payment));
               amortText.append("\t ");
               amortText.append(df.format(monthlyPayment));
               amortText.append("\t ");
               amortText.append(df.format(monthlyInterest));
               amortText.append("\t ");
               amortText.append(df.format(cumInterest));
               amortText.append("\t ");
               amortText.append(df.format(principal));
               amortText.append("\t ");
               amortText.append(df.format(balance));
               amortText.append("\n");
               payment++;
               num++;
          // print the headers one more time at the bottom
          amortText.append(slineOut);
          amortText.append(scolHeader);
          amortText.append(sfinalInstructions1);
     }// end amortize
     * Create the GUI and show it.  For thread safety,
     * this method should be invoked from the
     * event-dispatching thread.
    private static void createAndShowGUI()
        //Make sure we have nice window decorations.
         //Note this next line only works with JDK 1.4 and higher
        JFrame.setDefaultLookAndFeelDecorated(true);
        week4_herbie calculator = new week4_herbie();
    // main method
    public static void main(String[] args)
         // allow user to set a different file from
         // command line
        //Schedule a job for the event-dispatching thread:
        //creating and showing this application's GUI.
        javax.swing.SwingUtilities.invokeLater(new Runnable()
            public void run()
                createAndShowGUI();
}// end classAmoritizeFrame
import java.awt.*;
import javax.swing.*;
// this class provides the frame and the scrolling text area for the
// amortization schedule
class AmortizeFrame extends JFrame
     private JTextArea amortText;
     private JScrollPane amortScroll;
     private String sTitle = "Brian's";
     final String sTitle2 = " Amortization Schedule";
     // default constructor
     public AmortizeFrame()
          initWindow();
     // constructor that takes parameter (such as week number)
     // to add extra info to title on frame of window
     public AmortizeFrame(String week)
          sTitle = sTitle + " " + week;
          initWindow();
     }// end constructor
     // helper method that initialized GUI
     private void initWindow()
          setTitle(sTitle + sTitle2);
          setBounds(200,200,550,400);
          Container contentPane=getContentPane();
          amortText = new JTextArea(7,100);
          amortScroll= new JScrollPane(amortText);
          contentPane.add(amortScroll,BorderLayout.CENTER);
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setVisible(true);
     // method to get the text area for users of
     // this frame.  They can then add whatever text they want from the outside
     public JTextArea getAmortText()
          return amortText;
}// end amortizeFramenumericTextFrame
* This is a control that subclasses the
* JTextField class and through a keyboard
* listener only allows numeric input, decimal point
* and backspace into the text field.
* Known Problems!!!:
* 1) It will not catch if the user
*    enters two decimal points
import java.awt.Toolkit;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import javax.swing.JTextField;
   A JTextField subclass component that
   only allowing numeric input.  
class numericTextField extends JTextField
    private void setUpListener()
        addKeyListener(new KeyAdapter() {
            public void keyTyped(KeyEvent e)
                        char c = e.getKeyChar();
                if(!Character.isDigit(c) && c != '.' && c != '\b' && c != '\n' && c != '\177')
                    Toolkit.getDefaultToolkit().beep();
                    e.consume();
    numericTextField(int i)
         super(i);
           setUpListener();
    public numericTextField()
          setUpListener();
}Thanks for the assist

Top-level classes (that is, classes not inside other classes) must be defined as public or package-private (the default access level if you do not provide one).
A public top-level class Foo must be contained in Foo.java.
A non-public top-level class Foo can be contained in any .java file.

Similar Messages

  • UGH, What the heck did I do wrong and how do I fix it?

    Okay, so here is the background information you may need:
    1) One laptop
    2) Two iPods (Touch and Classic)
    3) Had all my Classic info (songs, video's, etc)
    4) Got a Touch
    5) Tried to sync with iTunes
    6) User error occurred and have lost all info from Classic
    7) Husband tried to fix it (by going into My music on Windows and restoring, but it's all the Touch information and no Classic)
    8) He said you're screwed
    Help? Before you chastise me, I've heard the lecture of backing up my stuff from now on three times today. Is there a way to recoup my Classic information? Thank you so much in advance for your help.

    *Recover media from iPod*
    See this post from Zevoneer for options on moving your iPod data back to your computer.
    http://discussions.apple.com/message.jspa?messageID=11657508#11657508
    Some of the tools linked to will only work if the iPod has a valid (non-empty) library which yours hasn't got. Others can scan the drive independently and some may even be able to rebuild a damaged library. The manual method towards the end should be able to recover your media regardless of the state of the library, provided the media hasn't actually been deleted from the drive yet. If it has then you need to find a free file & folder undelete tool first...
    tt2

  • HT201270 In layman terms, what the heck does updating your carrier settings mean and how does it effect me in the real world?

    In Layman terms, what the heck does updating your carrier settings mean, and how does it effect me in the real world?

    No offense, but what carrier?  what data and what service? 
    I get a bogus window hovering in my itunes page, telling me I have to update information, that I don't want to manage. 
    I am not upset or unappreciative of your feedback, quite the opposite, I can't believe anyone actually monitors peoples frustrations. 
    I just want to make sure I don't allow information about me that is not necessary.  I just want to listen to music and have a phone and have an ipad. 
    Everything else about apple is way to propriatory. I don't want to do anything that isn't very simple. 
    Most importantly, there never seems to be any (human being) that can answer a telephone call anymore. 
    Contact us, means...send us an email about something you don't know anything about, and I don't even know that questions to ask.
    I am not allowed to be ignorant.  If I am I wait days for answers.....

  • Option+T (What the heck does that do?)

    Option+T (What the heck does that do?) I've looked around on the internet and the boards and haven't found what the purpose is. Just curious. Thanks Jeremy.

    If you are curious why don't you just highlight the timeline > hit option + T (the timeline gets sexier ) > select a clip > drop a filter on it > set keyframes to modify the filter overtime or use time remap and option click anyware in the time remap green ramping line to set a keyframe and keep your curious eye on the timeline and find that all those keyframes becomes visible and editable in the timeline?

  • MacBook Pro continues to reboot then shows main screen with flickering green and white lines then restarts again what the heck is wrong with it?!

    MacBook Pro continues to reboot then shows main screen with flickering green and white lines then restarts again what the heck is wrong with it?!

    Sorry we can't assist with that, you'll have to take it to Apple.
    If it's not worth fixing then you may be interested in this User tip
    My computer is not working, is my personal data lost?

  • HT204370 I have tried on my desktop, my laptop, and my IPad - I keep getting a message that I am unable to download the movie? What if anything am I doing wrong?

    I have tried to download a movie "Escape Plan" on my desktop, my laptop, and my IPad - I keep getting a message that I am unable to download the movie? What if anything am I doing wrong?
    Message was edited by: edalexjr

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Click the Clear Display icon in the toolbar. Try the action that you're having trouble with again. Post any messages that appear in the Console window – the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • What the heck is iTunes uploading?

    After a frustrating week trying to use iTunes match, I've finally gotten a good chunk of my library in the cloud. The problem is the remaining 10 gigs: all live DJ sets that are roughly 2 hours long. They hover around 180 mb each, so under the limit.
    Problem is, I cannot get these to upload at all. I got lucky with one, and another matched, but the rest have been a boondoggle. I've tried many things, and as an experiment I decided to remove all of them from my library, add JUST ONE back into my iTunes, and then keep Activity Monitor open to see what exactly is happening.
    And this is what I get: I added back in a file that is 189 mb large. I started the transfer about two hours ago. With Activity Monitor open and set to the Netowrk tab, I originally had "Data sent: 18.38 gb". I verified that I didn't have any thing else really doing any uploads (every once and a while I'd see "Data sent/sec" spike to 1k/second or so, so I figured it was probably just Mail checking my inbox). Now it's two hours later, Data sent/sec has ranged from 40k/sec to 90k/sec (darn ADSL's slow upload speeds). But here's the kicker, I see "Data sent: 18.69 gb"
    Now, correct me if I'm wrong, but a 189 mb file added to 18.38 gb should equal around 18.58 gb. Which means that iTunes has magically uploaded an additional 100 mb or so of data. Even considering the fact that, since this is an mp3, it'd get re-encoded into an AAC, I find it very unlikely that we're talking about a 50% decrease in compression efficiency, and keep in mind that the upload STILL ISN'T FINISHED. In fact, as I write this, it's now at 18.73 gb data sent and no sign of stopping.
    Does anyone know what exactly is happening here? This mirrors my experiences with my first few attempts at uploading these sets: 10 gigs at once, but 6 gigs of uploading later, not a single one had finished. WHAT THE HECK IS ITUNES MATCH DOING??? I'm seriously considering canceling and seeing if I can get my money back, since I mainly cared about being able to stream these sets onto my iPad.

    Uh just to update, at around 18.77 gb data sent, data has stopped being uploaded from iTunes. Except it's still not done "uploading" the one song. So now I guess it's officially hung.  WHAT'S HAPPENING???

  • Red X on bottom left corner of palette VIs - What the heck is going on?

    I have a subpalette of my own VIs in user.lib that have red 'X's on the bottom left corner of them. I have been ignoring it for a long time, but it bugs me that LabVIEW is trying to tell me something is wrong and I don't know what it is.
    All the ones with the 'X' are members of a class. They work fine with no problems. The palette items are all pointed to the right place. The class doesnt' seem to have any problems; I use it all the time.
    I have never seen this before, nor have I yet found a place where this indication is mentioned either in LV Help or the online KB. It does nto occur anywhere else in any of my other usr.lib libraries, classes, or subpalettes. I have edited that library, class, and rewritten the mnu file over trying to clear it out, but no luck. 
    WHAT THE HECK IS THIS THING?!?! 
    Solved!
    Go to Solution.

    This sounds like an issue described in CAR 185059 where VIs belonging to a class inside an lvlib have a red X on their palette icons.  It has been fixed in LabVIEW 2012.
    -Chris M

  • I am trying to pay my bill online.  However, when I click the "submit" key, it tells me my "nickname" is incorrect.  What the heck is a nickname?  I have never had this trouble before.

    I am trying to pay my bill online.  However, when I click the "submit" key, it tells me my "nickname" is incorrect.  What the heck is a nickname?  I have never had this trouble before.

    Had the same problem. Here's how I sorted it out, not including yelling at my PC or ranting in my own thread (that's optional): First you want to delete your saved payment option. If you try this and it does not delete, log out and back in. It should be gone. Now re-enter your payment option (credit card number or whatever you are using) and if it asks if you want to save the data for future use, make sure you give it a nickname that doesn't include any special characters. Hope this works for you!

  • My computer recognizes my old iPhone, iPad and iPod but NOT my new iPhone. What the heck???

    My computer recognizes my old iPhone, iPad and iPod but NOT my new iPhone what the heck? It was fine last week, now nothing

    When you plug in your phone go to the sidebar on the left, select the device, and select the menu you want to sync.
    For example at the top there is summary, info, apps, movies, etc.
    If you wanted to sync movies go under there and pick and chose the movies you want on the device.
    Let's assume you are doing that and syncing is not going properly. Then first double check that there is a checkmark in the top left of that page that says sync movies
    If there is uncheck and then hit apply. Then it will take all the movies off. Now re-check everything and hit apply.

  • During a demo today could not use Messages for video chat or screen share - what dumb thing was I doing wrong?

    I was giving a demo / class today for some people in a volunteer group I work for. They all got new MacBook Airs or MacBook Pros, and I got a MacBook Pro because I am going to be going into explain how to use them.
    Most everythng went well, but one really cool thing I do all the time from home on my iMac I couldn't get to work. That part of the lesson was a disaster, though fortunately everything else went well.
    I'd like to figure out what dumb thing I was doing wrong so I can show them next week.
    I know we have to sign in with AOL accounts for screen sharing to work in Messages. So first I had everybody sign up for a free AOL account. That went fine.
    Then we all logged in using our accounts. That went fine for everybody except one person. We could all see each other online, with little video cameras next to our names in the Buddy List. One person never showed up anywhere for some reason.
    But we could not do either video chats or successfully request to share other peoples' screens, which I do all the time at home to help other people with their Macs.
    One person could not even see any requests from me pop up. One person could see my requests come in and accepted them, but nothing happened after that.
    Ordinary message chats were working ok.
    Things I already thought of:
    1. Perhaps the wi-fi in the bulding was blocking some ports? Just in case, I turned on mobile hotspot (tethering) on my iPhone 5 and had everybody connect to my network. But the results were the same, so it wasn't that.
    2. I wasn't sure it mattered, but in Settings > Sharing I made sure that everbody had screen sharing turned on. And just in case, even though I don't have this set from home, I further made sure everybody had "anyone may request to control the screen" checked.
    While I could do local network sharing of screens (via the Devices list in the Finder side panel), I couldn't for the life of me get it to work with Messages. But I've been doing this for years from home to help my sister and other people across town with their Mac by doing screen sharing this way and taking over their screen.
    It must be something dumb I'm overlooking. Anybody know what it is?
    Thanks,
    Doug

    Problem solved, finally, by AppleCare support!
    I gave up trying to reach the "English support line" guy located in Manila and decided to insist on plain old Japanese support here in Tokyo and explained the problem from scratch.
    First we tried all the usual suspects, but nothing we did could get it to work. Then we did an ARA (Apple Remote Access) support session. This was the first time I ever did this. Quite cool, and very useful.
    At first we still could not figure out what was wrong, but finally isolated the problem to the way my AOL account name was entered.
    When I added the AOL account to my Messages app, all I did was enter my username part. I didn't add the @aol.com part, because I never did that on my iMac. However, Messages kept on automatically adding "@aol.com" to the end of the AIM account name.
    The Apple tech person got me to try once again to get rid of the @aol.com part of the account name. We:
    1. Disabled the account.
    2. Manually deleted the @aol.com, leaving just my AIM name.
    3. Restarted my MacBook Pro (very quick, by the way, and also immediately brought back his ARA session).
    This time the @aol.com part remained gone, and I was able to test connecting to my iMac, which has a different AIM account set. It worked!
    I was able to do screen sharing via Messages! And also do video chat via Messages. Yay!
    So much thanks to Watabe-san at Apple support. The people I am teaching will be happy to see this working on Sunday, because it really is a very useful tool for assisting people remotely.
    doug

  • Quicktime X... What the Heck!!!!

    Quicktime X. Give me my old QT back. I have pro, but none of the features show up in QT X (10).
    There isn't even a prefs option to see if it is registered. Also, I can't install QT 7.6.4 because of X.
    What the Heck!!!! This version is so dumbed down, it blows!!!!!

    Wyodor wrote:
    You could have found it with Spotlight.
    New kid on the block?
    No, Not at all. Did think I should have to even look for another Quicktime. It's just that after 20 years of post production, this is not the Apple way of doing things.
    I just find it incredibly odd that after so many years of putting this App in the Apps folder, that they would replace it with an inferior version, that has dummy presets and shiny buttons and move the "legendary" full featured app to the utilities folder.
    I guess I have finally entered into the new "old school". Those of you who have fine tuned your encodes for optimal performance know what I'm talking about for sure.
    Thanks for the posts folks.

  • My PowerMac G4 smells like burning plastic -- what the heck is going on!?

    I have experienced the burning smell before, but almost a year ago.  Yes, my machine is eight years old, but I still love her and have been doing whatever I can to keep her alive.  The only major surgery I've done, is switched from the Samsung power supply it came with, to a lower powered Apple one.  It had been running fine (and quieter since the power supply switch) until today.  I powered the computer ON, left it for maybe 20 minutes, and when I came back, the first floor of my house wreaked of burning plastic/electronics.  I shut the computer down and left it off for about four hours.  Powered it up again recently, worked fine, BUT still emitted that burning stench (though can't tell if it was just blowing around the smell from before or heating up again...).
    Does anyone know what the heck is going on with my beloved PowerMac G4 (mirrored drives)?  I already purchased a used PowerMac G5 as a backup -- just in case I have to pull the HD from my G4 and move on -- BUT any help to fix my G$ would be most appreciated.  Thanks.  Nv

    Nick,
    The first thing to do is to trace the smell if you can.  The most likely source of heat is the power supply.  If a capacitor leaked somewhere the computer might not work but my money is on melting wire insulation.  The wire would still let power get to components but smell of hot insulation, thus it works but smells.
    If you are careful, you can remove the power supply from the computer and open it up to take a look inside.  If you have a spare CD-ROM drive, you can plug it into the power supply just by itself.  Take a paper clip and short out between the green wire and a black wire on the motherboard molex connector (the rectangular one with the most wires going to it. 
    What you will have on your work bench is the cord from the wall outlet to the power supply, the power supply itself with the cover off, the paper clip jumper and the CD drive.  If the paperclip is in place, the fan on the power supply will turn on.  The tray for the CD drive should open and close.  That will tell you if the power supply is working.  If it also starts smelling, then you have isolated the problem. 
    If the smell comes from any place else, look for signs of melted plastic. One would hope that a fuse would blow before wires short out because the heat is a sign of high current draw. 
    Try that much and post back.
    Jim~

  • WHAT THE HECK! eversince I updated my itunes... My laptop keeps on crashing, i try to change the volume on itunes and it doesnt even move, and I quit Itunes but apparently it won't ever quit... I lost all my  paper work cuz it crashed 4 times this week.

    WHAT THE HECK! eversince I updated my itunes... My laptop keeps on crashing, i try to change the volume on itunes and it doesnt even move, and I quit Itunes but apparently it won't ever quit... I lost all my  paper work cuz it crashed 4 times this week.

    Try disabling the computer's antivirus and firewall for the network problem.
    Also for the original problem try the following if Ana's suggestions does not work
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • HT1947 "Up next" feature makes a mess out of controlling what the heck is played using the iOS remote app.

    Tell me if I am wrong, but it seems to me that the "Up next" feature makes a mess out of controlling what the heck is played through the Apple TV using the iOS remote app.  The whole thing seem uber-anti-intuitive.  I am a long time user (as much and anyone is long time for any of this stuff) of the iOS remote app, and ATV to play music though a stereo system.  Up to a couple of weeks ago, I could sit in my chair, start the iPhone remote app, pick a playlist and either start from the beginning, or if the first track didn't grab me at that moment, go ahead and switch to, say, track 6 -- the whole playlist would "sit there" and be available for further browsing.  With the new system, if I hit a playlist the songs will go into "Up Next".  If as I described in the last sentence, the first song is not getting it for me, and I switch to track 6 , the "Up Next" list is lopped off and only tracks 7 onward will be shown.  I can't go back and browse the first 5 tracks (6 actually) -- they're vaporized.  The idea of browsing your own music has been killed; I guess this "Up Next" concept is for folks who like maybe a couple of dozen songs that are picked from different places and want to play them in different orders of something -- it just seems like a crummy idea.  If under the scenario I described I want to go back and play that first (or second through fifth) song on the original playlist, I have to go out and fish it out of the library somehow and just keep messing around and around.  There have been times when I didn't know what the heck was going to come out of the speakers.  It seems like the remote user has not been considered in the "dramatically improved" iTunes 11", with the "cleaner user interface" .  To me it is "dramatically akin to dog-doo", which, of course is not cleaner than much of anything.  If I can't get this working decently, then I'm really thinking of investigating some other type of system like DLNA.  Any suggestions?

    Same problem here.  I have so many problems with this remote app.  Is there an iTunes API? I would like to write my own remote app that actually works.

Maybe you are looking for