IAm all mIx Up..Need serius Help

Really nid help in this probelm...dont know how to use switch and Text Field please help ...
Mail order house sells 5 different product..prod1-$2.98, prod2-$4.50, prod3- $9.98, prod4- $4.49 and prod 5- $6.87..Write an application that reads a series of pairs of numbers as follows:
a)Product number
b)Quantity sold for one day
Program should use a switch structure to help determine the retail price for each product.Your program should calculate and display total retail value of all product sold last week. Use a TextField to obtaimn the product number from the user. Use sentinel -controlled loop to determine when the product should stop looping and display final results.
.....Help will ne greatly appreciate guys..Ive been doing this for 2 days..dont know where to place diffrent controls...send source code if possible thank you..

I've done something with 2 articles, but you need to improve it yourself.
It works like this:
- you enter a product number and an amount, separated by a slash (e.g. 2/3)
- for totals, you enter nothing, but simply press enter inside the text fieldimport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Example extends JFrame implements ActionListener {
    private JTextField addField;
    private double totalSold;
    public Example () {
        super ("Example");
        totalSold = 0D;
        addField = new JTextField (10);
        addField.addActionListener (this);
        getContentPane ().setLayout (new FlowLayout ());
        getContentPane ().add (new JLabel ("product number/amount:"));
        getContentPane ().add (addField);
        setDefaultCloseOperation (EXIT_ON_CLOSE);
        pack ();
        setLocationRelativeTo (null);
        show ();
    public void actionPerformed (ActionEvent event) {
        String value = addField.getText ();
        if (value.equals ("")) {
            JOptionPane.showMessageDialog (this, "The total revenues are $" + totalSold, "Totals", JOptionPane.INFORMATION_MESSAGE);
        } else {
            String[] values = value.split ("/");
            double price;
            switch (Integer.parseInt (values[0])) {
                case 1:
                    price = 2.98;
                    break;
                case 2:
                    price = 4.5;
                    break;
                default:
                    price = 0D;
                    break;
            totalSold += Integer.parseInt (values[1]) * price;
            addField.setText ("");
        /* improvements here:
         *     - error handling
         *     - revenue formatting ($12.50)
         *     - more articles
         *     - resetting the totals after they're shown
    public static void main (String[] args) {
        new Example ();
}Kind regards,
Levi

Similar Messages

  • Display Aggregated  numbers for all the weeks – Need immediate help

    Requirement is , Get the case count (#of Cases), and Case Worked (“ #of worked Case”) and Number of Solution (“# of Solutioin”) for the next 5 weeks base on selected week
    Case detail has in “Case Fact”, Worked details has in “ Activity fact”, Solution details has in “Solution Fact” all the three are join base “Case Dimension” and “Date Dimemsion”
    User will select Monday of the week, Case count should display for the selected week but Case worked and # of deliveries should display for next 5 weeks for the 1 weeks Cases.
    just notes..# Of Case count should stay same (sleeted week) but remaining thing need to calculate base on Cases selected on 1 week..
    Currently I am calculating selected week + 4 week to get data but # Cases also getting incremented but it need to stay 1 week total any help??
    Expected report output..
         Week1     Week2     Week3     Week4     Week5
    # Cases      10     10     10     10     10
    # Cases Worked 2     3     5     5     8
    # of Solution     0     1     2     3     6
    Thanks in Advance.

    I had the same problem the other day--my totals were listed, but all the other categories under "History" (Last Workout, Recent Workouts and Personal Best) were empty.
    I figured everything was lost, but decided to plug my nano back into my MacBook and let it mount in iTunes, then unmount it. I checked the History again. The first time, nothing changed. So I plugged and mounted again. The second time after unmounting, I navigated to the History menu, and suddenly the nano screen displayed a "Loading History" and it slowly loaded all my workouts. A few minutes later, all the History data was available again.
    Try that--plug and unplug several times, being sure to allow the nano to properly mount in iTunes before unmounting--to see if you can get the history to load.
    (One more thing to note--my nano is set to NOT automatically sync with iTunes, as I prefer to manually manage my music. I don't know if this will make a difference in the handling of workout data, but figured I should mention it here just in case.)

  • My iPhone 5 is working perfect except for calls. The person receiving the call is not hearing me at all please I need some help

    I need help with my iPhone 5 I'm hearing perfectly but the person receiving the call is not hearing me at all. Can anyone help. Thanks

    You can call your carrier for troubleshooting but ultimatly this is common with the Iphone 5 and you will end up needing a warranty replacement.

  • Need Urgent Help: Solaris fails to come up after applying patch 120012-14

    Hello All,
    I really need urgent help , as I am in really big problem. Today I applied patches , the last patch I applied was 120012-14.
    After this I rebooted Solaris and it is not coming up now. It is giving me following error, it reboots again and again
    nel/misc/sparcv9/hook: undefined symbol 'netstack_unregister'
    WARNING: mod_load: cannot load module 'hook'
    /kernel/misc/sparcv9/hook: undefined symbol 'netstack_register'
    /kernel/misc/sparcv9/hook: undefined symbol 'netstack_unregister'
    WARNING: mod_load: cannot load module 'hook'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_register'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_event_remove'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_register'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_unregister'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_family_add'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_family_remove'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_unregister'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_find_by_stackid'
    /kernel/misc/sparcv9/neti: undefined symbol 'hook_event_add'
    /kernel/misc/sparcv9/neti: undefined symbol 'netstack_rele'
    WARNING: mod_load: cannot load module 'neti'
    WARNING: neti: unable to resolve dependency, module 'misc/hook' not found
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_register'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip_config'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_impl'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_delete_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip'
    /kernel/drv/sparcv9/ip: undefined symbol 'hook_run'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_cred'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstackid_to_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_create_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_stackid'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_rele'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_hold'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_init'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_fini'
    WARNING: mod_load: cannot load module 'ip'
    WARNING: neti: unable to resolve dependency, module 'misc/hook' not found
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_register'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip_config'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_impl'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_delete_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'secpolicy_ip'
    /kernel/drv/sparcv9/ip: undefined symbol 'hook_run'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_cred'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstackid_to_zoneid'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_event'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_unregister_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'kstat_create_netstack'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_find_by_stackid'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_rele'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_hold'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next'
    /kernel/drv/sparcv9/ip: undefined symbol 'net_register_family'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_init'
    /kernel/drv/sparcv9/ip: undefined symbol 'netstack_next_fini'
    WARNING: mod_load: cannot load module 'ip'
    WARNING: ip: unable to resolve dependency, module 'misc/hook' not found
    strplumb: can't install module drv/ip, err -1
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'cons_tem_disable'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_tem_inverses'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'consmode'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_hide_cursor'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_tem_pos'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_term_font_size'
    /kernel/dacf/sparcv9/consconfig_dacf: undefined symbol 'prom_get_tem_size'
    WARNING: mod_load: cannot load module 'consconfig_dacf'
    /kernel/misc/sparcv9/consconfig: undefined symbol 'dynamic_console_config'
    WARNING: mod_load: cannot load module 'consconfig'
    WARNING: consconfig: unable to resolve dependency, module 'dacf/consconfig_dacf' not found
    panic[cpu3]/thread=180e000: mod_hold_stub: Couldn't load stub module misc/consconfig
    000000000180b890 genunix:mod_hold_stub+1f0 (0, 185fc00, 18acbf8, 60002cff370, 1817328, 0)
    %l0-3: 0000000001843b18 0000060003308000 0000000001811ce8 0000000000000000
    %l4-7: 0000000000000000 0000000000000064 ffffffffffffffff 0000000000000000
    000000000180b940 unix:stubs_common_code+30 (1f037ce7fb0, e164, 64000000, 0, 1ef800, 0)
    %l0-3: 000000000180b209 000000000180b2e1 000000337e000000 0000000000000001
    %l4-7: 0000000000000000 0000000001817338 0000000000000000 0000060002ccf6c0
    000000000180ba10 genunix:main+134 (18ad050, 18a8c00, 1836500, 1861800, 183b400, 1814000)
    %l0-3: 0000000070002000 0000000000000001 0000000000000000 0000000000000002
    %l4-7: 00000000018b0280 00000000018b0000 00000000018ad060 00000000018ad000
    syncing file systems... done
    skipping system dump - no dump device configured
    rebooting...
    Please help me what should I do. I have gone through all forums and mailing lists but couldnt find pin point solution.
    Thanks,
    Farhan
    Edited by: rozzx on Jul 5, 2008 1:48 AM

    Solve this. Patch just screwed the meta devices, changed vfstab in single user mod and it booted fine.

  • Need some Help with the new Genius Mixes on iTunes 9

    I would like to know how to use the New Genius Mixes on iTunes 9. I don't quit know how to use it yet and like all of us we're all just learning how to use the Genius Mixes. I did watch the KeyNote but they didn't go into great detail on how to use it. Does Apple have a web site that has more detail instruction on how to use the genius Mixes? I did find some info. on how to use the Genius mixes but it didn't go into great detail on how or what to do with the genius Mixex and thats what I need.
    when I click on the genius Mixes icon under the "Genius", what shows up is a Big square with four album images of my music that I have in my music collection, I go and roll my mouse over the Big square with my four music albums and click on it to play the music and it'll play what ever I have in the Genius Mix list plus as I roll my mouse over the Big Square, under it it says "Jazz Mix" with some text writings under the Jazz mix.
    I want to change the Jazz mix Title and I want to know how to add more music square boxes to my Genius Mixes just like they show in the Keynote and I would like to edit and create my own four square music boxes in my Genius Mixes.
    I never used my music genius list, I always created just a play List, now I am just learning how to use this music Genius lists and I don't know how to use it at all and I need someone that knows how to use thr Genius Mixes list to help me how to use it since there isn't a how to book yet for the new iTunes 9.
    Can someone Please help me with the new genius Mixes on iTunes.
    Thank you,
    Mrs Trisha Foster

    Today, I was getting an array out of bounds exception on a split
    I don't see how that could happen with the 'split' method since it creates its own array.
    For this particular string, ordSplit.length = 24 and commas = 26.
    PERFECT! That is exactly what it should be!
    Look closely at the end of the sample string you posted and you will see that it has trailing empty strings at the end: '1096200000000242505,,,'
    Then if you read the Javadocs for the 'split' method you will find that those will NOT be included in the resulting array:
    http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#split(java.lang.String)
    split
    public String[] split(String regex)
    Splits this string around matches of the given regular expression.  This method works as if by invoking the two-argument split method with the given expression and a limit argument of zero. Trailing empty strings are therefore not included in the resulting array.
    Just a hunch but your 'out of bounds exception' is likely due to your code assuming that there will be 26 entries in the array and there are really only 24.

  • What is the easiest way to sort photos within an album.  I have photos from a trip but they are all mixed up.  Photos from one part of the trip are showing up in other parts.  Please help.

    I have a MacBook Pro laptop and am trying to use iPhoto.  I uploaded pictures but they uploaded out of order.  Photos taken from different locations on my trip are all mixed up and I would like to sort them in chronological order.  Things I have tried have been time consuming and often take several attempts before the moved photo "takes" to its new location within the album.  If anyone can provide step by step instructions for this senior, it would be very much appreciated.  Thank you.

    following article tells how to sort photos in iphoto:
    http://support.apple.com/kb/PH2397
    also
    http://support.apple.com/kb/PH2388
    article on smart albums in iphoto as well:
    http://support.apple.com/kb/PH2389
    these should help answers your questions, also in every apple application if you look on the main menu bar they all have a help section that is very useful in getting basic how to instructions.

  • HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.

  • My library is all mixed up after downloading iTunes 7. Help!!

    I just downloaded iTunes7 and now my iTunes library is all mixed up. Some playlists are complete with a few extra songs. Most of my albums and playlists are so mixed up that I don't have a clue where to start looking for songs. It is making it almost impossible to use the program. Everything was working just fine today BEFORE I "upgraded". What can I do? Help!

    Maybe it's something related to your iTunes library files. Close iTunes, go to your iTunes music folder, copy the .itl and .xml files and make a copy of them anywhere you want, then delete them from your iTunes music folder. Open the "Previous iTunes Libraries" folder in your iTunes music folder, copy the .itl file and paste it where the other .itl library file was (your iTunes music folder). Now, change its name like this: if it's called iTunes Library 09-12-06, rename it just "iTunes Library" (.itl). Hopefully that'll do the trick. Reopen iTunes and check everything is OK.

  • Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ask in the ID forum and be much more specific about your configuration. there could be any number of reasons why manifests, temp files or restore files are created.
    Mylenium

  • I lost all email 6months and older in mac mail. Need Serious Help!

    I lost all email 6 months and older in mac mail. In my in-box as a well as all other folders I created. I expected that the mac email software would keep all email as it did for me in when I used to use Outlook. As well I thought I was covered with the Time Machine I have installed. Well.....The Time Machine that I was aggressively encouraged to buy apparently doesn't back up email. If it does, I must need some secret decoder ring to unlock where it is. I need serious help. I lost months of professional and personal data. I need to fix this immediately and find some way to get my email back. Please help.

    In March when I upgraded to Lion and iCloud I also experienced a similar problem (cluster of problems) which was solved by a password reset (conforming to new requirements) for my Apple ID. I'm glad to see that many nice people contributed and your primary problem is fixed.  My comment is on your Quicken problem.
    Your data inside Quicken 2004 is on borrowed time.  In the process of researching personal budgeting apps I found many reports on the web that indicate Intuit as a company is scaling down Quicken (desktop) development and its future attention to the Mac platform will be minimal.
    Did you know that Intuit is behind Mint.com?  You may be hesitant to put your financial data "in the cloud" and I may be being sheepish, but.. bbaaaa, bbaaaaa, the cloud is where it's going.  I know first-hand want a pain in the arse it is to customize an app to your liking.  I spent several hours on Mint.com setting up categories and tagging transactions.  It's tedious. I didn't look because I wasn't a Quicken user, but perhaps Intuit was nice enough to provide a data conversion path for Mint.com.  It is worth a look.
    My second suggestion is to scour the web for a hack solution.  You can't be the only person who is facing this problem.  Quicken was very popular.  I just bet someone has posted directions or some code for exporting the Quicken 2004 data and manipulating it for something else.
    Good Luck.
    Ellee H.

  • HT1386 When i first synced my iphone it synced around 3000 photo's.  It now wont ley me sync my phone at all as i need the new ios version but because of the photo's i dont have enough space but i cant delete the photo's because my phone wont sync. HELP P

    When i first synced my iphone it synced around 3000 photo's.  It now wont ley me sync my phone at all as i need the new ios version but because of the photo's i dont have enough space but i cant delete the photo's because my phone wont sync. HELP PLEASE!!

    Use iPhone as designed. Like any digital camera, download your photos to your computer and delete from the iPhone to create space required for iOS upgrade.

  • I need some help. im getting error -69 when trying to sync my ipod. i dont kno what to do. ive tried googling as much info as i can on this but i cant seem to find a answer to get me off to a good starting point. i back all my music up on a hard drive.

    i need some help. im getting error -69 when trying to sync my ipod. i dont kno what to do. ive tried googling as much info as i can on this subject but i cant seem to find a answer to get me off to a good starting point. i back all my music up on a external hard drive.

    If the file was not originally from iTunes, you'll need to redownload it from it's original source or rerip it from the CD.  Files can sometimes go bad and become corrupted.  As to how or why that happens, there are a number of ways.
    What format are the problematic tracks in? Have you tried converting them to another format in iTunes?
    iTunes: How to convert a song to a different file format
    B-rock

  • My itunes id is blocked by apple because of an internal problem trying to update the itunes version, apple support is not helping at all and I need to update all my application. Is anybody you had this problem before? and how did they help? thanks

    my itunes id is blocked by apple because of an internal problem trying to update the itunes version, apple support is not helping at all and I need to update all my application. Is anybody you had this problem before? and how did they help? thanks

    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.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Calling ALL Geeksters! Need help! S.O.S.!!!

    I am in sales and the sole purpose of my HP Verizon Netbook, Model: HP Mini 311 1037NA, is for business.  A little over a week ago, my netbook magically feel off of a filing cabinet when it was open and landed on the concrete face down.  I have 2 years worth of clients price quotes, contracts, over 9,000 emails, etc., that I must retrieve as soon as humanly possible because in three days (Monday, Feb.. 28th 2011), I will have to return my broken PC to Asurion, which is the insurance provider for my companies netbook which are all setup through Verizon Wireless.
    To shed some light, when I picked up my computer after it fell to its destruction, the screen's plastic hinges had broken and was only connected to the computer by the wires; amazingly it was still working and continued to work for about 40 minutes until it started running very...very slow.  I became aggravated with the functionality of it and decided to hold down the power button to turn it off and restart it.  Once I did this, everything went to heck. 
    The computer turns on by showing the HP logo like everything is fine, it then goes to a black screen and about 30 seconds later it comes to the, black screen/white text "Repair or Start Windows" menu.  Basically the two options do nothing for me because when I choose the "Repair" option, it pulls up the gray box and acts like it is scanning for problems to no resolve (I left the PC on this function for a full work day and when I came home it was still showing the gray box and still telling me it was scanning for issues/problems with files that may have occured). 
    If I choose the "Start Windows" option, it displays the blue designed type background that sits behind the "Windows login box" to log in to my Windows 7 user account; the only problem is, the "Windows login box" never comes up; the blue design type screen would display till the end of time if I let it.  The mouse icon displays on the screen and I can move it but nothing happens and there is nothing to click on.  I don't know if this would help, but when the blue designed background screen and the mouse icon are displayed, it looks as though the screen has been zoomed in a little bit; the mouse icon appears larger than usual but not by much, maybe a 20% increase.
    If there is no other way to log into windows or to get files off this Netbook through some other function, with my netbook acting the way it is, I will need some help as to how to remove the Hard Drive from my netbook.  I have never even attempted to do anything this, however I would say I am above average when it come to technology, especially computers.  So I think it is safe to say that I am sure I can do it with a little assistance and guidance).  
    Again, if getting if getting a USB HD Enclosure is my only option, I will need to know a few things...such as,  I will need to know what kind of USB HD Enclosure I should buy for this one time use type situation (in other words, something cheap/minimal functions that will do the job).  I will need to know specific directions as to how it will work and what I will need to do once I insert my old HD into the USB HD Enclosure and then plug the USB HD Enclosure into my new Netbook that is working.  Also any other tips or recommendations for doing something like this would be extremely helpful, i.e.., if I am not supposed to touch a certain part of my old Hard Drive, I will need to know, because I have never opened or touched the insides of a computer before.
     I apologize for the book I just wrote, but I know that the smallest details and lots of detailed descriptions can be useful in diagnosing a problem.  I am hoping that I do not have to take my Netbook to Geek Squad or whoever else that is going to charge me $100-$200 just to do something that I could have done myself.  PLEASE HELP ANYONE!!!  I WILL BE MOST GRATEFUL FOR YOUR PRICELESS GEEKSTER INFORMATION!!!!  I say that with the up most respect and humbleness.
    My broken computer model is, HP Mini 311 1037NA; OS = Windows 7 (purchased from VZW in April of 2010).
    My new computer model is, HP Pavilion dm1 2010nr; OS = Windows 7 (I just got this from VZW through an in store insurance claim, Verizon was able to get Asurion to pay for a new computer for me, instead of Asurion sending me a refurbished version of my old computer).
    Best Regards
    cbowers13
    If you need to, you may email me direct at [text removed for privacy]

    http://h10032.www1.hp.com/ctg/Manual/c01898746.pdf
    Here's your hardware and maintenance manual. It shows how to get the hard drive out.
    http://cgi.ebay.com/2-5-HARD-DRIVE-SATA-EXTERNAL-ENCLOSURE-CASE-USB-2-0-New-/160526605521?pt=PCC_Dri...
    This is the type of enclosure you need for the hard drive.
    All this is going to hinge on whether the hard drive is still okay.   Put it in the enclosure and plug it into the new laptop.  If it is working, windows will recognize and a popup will appear. One will say to view files. See if anything comes up.   If your files appear, copy them to the new computer's hard drive. If it works, don't mess around doing it. copy them over as quick as you can coz there's no telling how long that old drive will last being that it fell to the ground.  If this doesn't work,  there are some programs on the net that might recover the files.  
    If none of this works, your alternative is have a data recovery company take the platter out of the hard drive and put it in another hard drive.  (expensive)  
    Did someone help you? Pay it forward. Help someone else.
    NC4400, TC4400 Win 7 Ultimate, xp pro, both dual boot
    a bunch of thinkpads

  • HT4946 hii, on my iphone 4s, i tried upgrading my OS and i was asked if i needed back up and i said yes, after upgrading i couldnt find any of my files, document, pictures, music and all. please i need help please.

    hii, on my iphone 4s, i tried upgrading my OS and i was asked if i needed back up and i said yes, after upgrading i couldnt find any of my files, document, pictures, music and all. please i need help please.

    Hi,
    usually when you upgrade, it should not delete your files, but if it happens, than you should have a backup.
    Unfortunately it is very common, that people don't know, what exactly is in the backup.
    The question is, what files exactly you are missing? Own pictures, or taken with the device? Purchased music form the iTunes Store, or own? ....
    Documents and files are mostly up to the developer of the app, if they are part of the backup, usually not and you need to transfer them before.
    In the backup you will find just pictures from the Camera Rolle folder, everything else you should have on the PC, if you had it on the device.
    Same then for music, you can transfer purchased music from the device, but your own works just one direction, from PC to device, from device to PC it doesn't work.
    In future I recomand you to be sure how the backup works or use a 3rd party app (iExplorer) where you have a little bit more "freedome" than with iTunes.
    Or you maybe just restored from the worng backup

Maybe you are looking for