Why cant i do simple things like add to an array list :( :( :(

i dont know why i cant do this :( late in the day maybe?
ArrayList menu;
MenuItem ma=new MenuItem("Test","na",0,true);
addMenuItem(ma);
private void addMenuItem(MenuItem obj)
    menu.add(obj);
    Collections.sort(menu);
    }im getting a nullpointerexception on menu.add :(

arggghhhh!!!
it was that!!
my brain stops working at around 3.30pm :(
i hate it when its something soooo simple!!!
thanks for the spoon feeding :)

Similar Messages

  • Why does my Macbook Pro get extremely hot doing simple things like surfing the web?

    I have a mid 2010 Macbook Pro. 4GB of ram 500GB HD. The last few months my mac has been getting extremely hot when I do simple things like listening to music or going on facebook etc. I have used accessories to cool it down, but it doesnt seem to work. Any suggestions on what I should do?

    Might be that the vents are clogged and need a clean up. Depends on the environment it was used in (dust, smoke, etc).
    Might also be that some piece of software is the culprit and not iTunes or Safari/Chrome/Firefox.
    Run Activity Monitor and see which application(s) use abnormally high amount of processing power.

  • I didnt mean to buy a $3.99 app but it says not eligable to refund why cant i? I would like my money.

    but it says not eligable to refund why cant i? I would like my money.

    If you've contacted the iTunes Store and they told you that you're not eligible for a refund, then you're not. The terms of use for the iTunes Store state that all sales are final, so a refund is on a case-by-case exception basis and if they've determined that you don't qualify, then you don't. Sorry, but there's nothing further you can do.
    Regards.

  • When i signed in it recognized my name and password but then it asks formy password again but the email address i cant edit and it says like randompeoples from my buddy list it doesnt say mine so i cant enter my password

    when i signed in it recognized my name and password
    but then it asks formy password again but the email address i cant edit and it says like randompeoples from my buddy list i must of shared music or something with its so weird and it doesnt say mine so i cant put my password

    Go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  Then log in using a different ID.

  • Simple things to add to improve iphone

    I have iphone 4, really a great tech! But there're some simple things I hope apple to add
    - why there's no share contact by sms only there by mms or email. I hope 2 add it in future.
    - we cant send group sms selecting multiple names from contacts to send them sms
    - no editing of the whole contacts eg. Multiple select of contacts to delete them instead of selecting each one and getting into their edit 2 delete
    - no arrows keys in keyboard. Sometimes it helps when try 2 go back & correct a letter instead of deleting the whole!
    - no option in phone tunes to make phone ring once! I prefer it!
    Thanx

    why there's no share contact by sms only there by mms or email. I hope 2 add it in future.
    Because the contact is sent as a vCard attachment, and an attachment sent as a message requires MMS. Are you charged more for MMS than an SMS? If not, not sure what difference it makes. This also provides for an easy import into the iPhone's address book and with any address book application used on your computer.
    we cant send group sms selecting multiple names from contacts to send them sms
    Addressing a message or an email to a group has not been supported since day one over 3 years ago. You can use this link to provide Apple feedback.
    http://www.apple.com/feedback/iphone.html
    no editing of the whole contacts eg. Multiple select of contacts to delete them instead of selecting each one and getting into their edit 2 delete
    You should be syncing contacts with a supported address book application on your computer or via an online address book such as Google or Yahoo where a mass deletion of contacts is easier and faster. Since doing so is not usually required on a regular basis and since contacts are designed to be synced with a supported address book application where doing so is much easier and faster, not sure when or if such an option will be provided with the iPhone, but you can use the iPhone feedback link for this as well.
    no arrows keys in keyboard. Sometimes it helps when try 2 go back & correct a letter instead of deleting the whole!
    And there won't be. The iPhone includes a multitouch screen for this.
    no option in phone tunes to make phone ring once! I prefer it!
    Copied from the iPhone user guide page 63.
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf
    +Silence a call: Press the On/Off Sleep/Wake button or either volume button. You can still answer the call after silencing it, until it goes to voicemail.+
    I don't recall using any cell phone that included an option for the number of rings.

  • Why cant i view my call package+ add ons ?

    My first post, i hope this isnt going to be the norm.
    as said, i cant view my call package or add ons etc.
    all i get is ...
    "  We're sorry...
    We have noticed you already have one of our great package deals. Please call one of our helpful advisors on 0800 800 150 who will advise you on how to change your package. "
    to be honest, im fed up with calling the 0800 number to eventually only to speak to someone , in India I assume, who doesnt seem to know what they are doing....ive rang 4 times by the way...so for this problem i thought I would try here first.
    Rob.
    Solved!
    Go to Solution.

    Hi Rob,
    Welcome to the forum.
    Sounds like you're already on a special offer or deal, but I can take a look at your account if you want, can you email in your forum username and BT account details to me?
    You can get our email address by clicking on my username.
    Thanks,
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Why cant i download some things without firefox saying " The file could not be saved because you do not have the proper permissions. Choose another save directory.

    when i begin to download some things a pop -up shows up and says that i dont have permission, and that i should choose another save directory. what should i do ?

    Thanks. That let me change the location where I saved it. Plus I can now execute the file. Update downloaded and installed. Success
    The ALT e brought up the toolbar. I picked the Tools tab, Options. Under the General tab was the Downloads options with the radio button for "Always ask me where to save files".
    However, I think the problem is that when my hard drive crashed. HP created the "Valued Customer" and fixed computer under this user. Now I cannot use my Spaniard user name. The "Valued Customer" looks at Spaniard as another user that doesn't have user permissions.
    Do you have any suggestions how to give Spaniard user permissions? Or how to get rid of the Valued Customer?

  • In Photos, Why Cant this be simple,but how do I Export a organized backup for my photos to a external hard drive.  I tried exporting them, but now I have to go through thousands of pics

    Ok, I need to reboot my Mac, want to back up my photos to a external drive  in new Photos.  I tried exporting them, but its thousands of pics that I have to go through.  Want them to be in specific folders.  Very time consuming.  Do I try making albums ? is there a software?

    You can go about this in two ways:s
    1 - copy the Photos Library to an external HD that is formatted OS X Extended (journaled) or use Time Machine or one of the backup apps that Larry mentioned.
    2 - Click on the All Photos album in the sidebar, select all of the photos by typing Command+A and exporting the to the EHD using the File ➙ Export Unmodified Original... menu option with the following settings:
    This will give you a folder for each Moment (like iPhoto's Events) with the name of the Moment as a folder title which will be the date of that Moment:
    The first method as described buy Larry is the better one as it will keep your organizational efforts, keywords, titles, projects, etc., intact.

  • IPhone3g fails to change orientation of, e.g., pics and video, when I change it from vertical to horizontal position.  I've done simple things like restarting and charging.

    This feature used to work all the time, now seldome does.  Phone had never been dropped, etc.  Phone is about 6 mos old (in use).

    Orientation lock is most likely on. Double tap the home button...swipe left to right...far left is the orientation lock button...tap on/off.

  • TS2972 why cant i watch any thing on my apple tv? home sharing is currently on

    Home sharing doestn work on my apple tv....Please help

    Try a reboot of ATV, device and router.  Make sure all are on the same apple id and network too.
    Jules

  • Why cant i add my own sound to apps like facebook e mail and twitter

    why cant i add my own sounds to apps like facebook e mail twitter

    "add my own sounds to" - do you mean notification sounds??  If so, they are set by the App developer and can't be changed (other than disable).
    "Why" - this is a user-to-user support forum.  No one here can answer "why" Apple does or doesn't do anything.

  • Why cant i add things to my iphone4s calendar

    Why cant i add things to my Iphone calendar? There is no + sign at the right hand side. Help

    Try going to Settings>iCloud and turn Calendars to On.

  • Why cant I have the date format like this:  1/2/07, it converts to Jan 2

    Why cant I have the date format like this: 1/2/07, it converts to Jan 2, 2007
    I want to keep it like that because, I transported a huge spreadsheet from my PC, and it has like this: 1/1/07, and there is way to many, to go back and change. Please help. Thank you.

    Hello
    Welcome to the club.
    The response seems to be simple.
    Those who wrote the Help are not those who wrote the PDF User's Guide which are not those who coded the application.
    As on this forum you will met only users trying to help other users, no one would be able to tell you if what we got is a bug or a design flaw.
    Like many of us,
    *Go to "Provide Numbers Feedback" in the "Numbers" menu*, describe what you wish: a way to define the default format used as Automatic date/time.
    Then, cross your fingers, and wait for iWork'09
    Yvan KOENIG (from FRANCE mardi 15 janvier 2008 15:10:17)

  • HT4623 why cant we be able to save contacts to our phone like every other phone?

    When i get a new iphone i loose some cantacts, because you cant save them to the sim card from the iphone, and iknow you can do it throught the computer save them there, but what happens if the computer breaks? I think this should be a feature added to the new update for all iphones.

    " but why cant we just be able to save the contacts straight onto the simcard"
    Becasue this is not a feature of the iphone.
    A phone is not the place for all of you info to reside.  It should all reside on your computer where you have a complete and regular backup.
    The iphone simply allows it to be portable.
    "would just be easier if you could save it to the sim."
    No.
    You can sync contacts over the air, if you like.  I use icloud.  All contact I input on my iphone are immediately transferred to icloud and to my computer.  I backup my computer regularly.  Very simple.

  • Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Have you attempted a restore?

Maybe you are looking for