Cant get rid of JOptionPane Message title

Im trying to get some user input using a JOptionPane message. I am able to get the information that im looking for but when the window comes up there is a header that says "JOptionPane message" and I would like to get rid of this. Here is the code that I am using. Any help would be greatly appreciated
JOptionPane addItem = new JOptionPane();
Object[] o = {addAddress, addItemAddress, addDescription, addItemDescription, ok};
addItem.setOptions(o);
d = addItem.createDialog(null, "Add Item to Address Book");
d.setVisible(true);

Thanks for all of your help. I needed to specify what the Message was I wanted in the title.
addItem.setMessage("Add Item");
JOptionPane addItem = new JOptionPane();
Object[] o = {addAddress, addItemAddress, addDescription, addItemDescription, ok};
addItem.setOptions(o);
d = addItem.createDialog(null, "Add Item to Address Book");
d.setVisible(true);JOptionPane addItem = new JOptionPane();
Object[] o = {addAddress, addItemAddress, addDescription, addItemDescription, ok};
addItem.setOptions(o);
addItem.setMessage("Add Item");
d = addItem.createDialog(null, "Add Item to Address Book");
d.setVisible(true);

Similar Messages

  • Away from home not backed up for 2 wk, cant get rid of iCloud message to back up and cant connect  to wifi?

    How do I get rid of icloud message on screen - doesn't respond when i tap the ok icon and can't log onto the wifi in the hotel. Can't switch device off either!

    Thanks  randers4 great help

  • Cant get rid of PPP message

    i recently used my mobile as a modem to connect to the internet (via bluetooth), now im back in the office using ethernet connection. Everytime i switch users, i get the following message
    http://simonboard.com/mac/PPP.png
    what can i do to get rid of it?
    thanks

    Hard to tell from the information at hand. However, I'd take a look at the Network preferences as a starting point.
    If you're using ethernet only I'd start by turning off the Built-in modem. that way the system shouldn't care how it's set and that might be all you need to do.
    Just go System Preferences -> Network -> Show -> Network Port configurations and turn off the modem (and any other ports you're not using).

  • TS3992 please help.  i have an icloud message saying that this ipad has not been backed up.  I hit ok nad nothing happens.  the entire ipad is not usable as i cant get rid of this message.  cannto enter settings or any other programme.  what to do!

    hullo,
    does anyone know how to turn off cloud backup?
    my ipad has a message on it that says my icloud backup is not happening and i cant use the ipad as everything is frozen. clicking on the ok buttom does nothing!
    the ipad is locked, wifi is on it is plugged in -
    i cannot switch it off either- the power button will not switch off either

    Welcome to the Apple Support Communities
    Hold Sleep and Home buttons until the iPad restarts (about ten seconds), so you will be able to use the device again after having it restarted

  • A message has popped  up in safari saying we have won a prize cant get rid of it

    a message has popped  up in safari saying we have won a prize cant get rid of it

    Try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    Then when the iPad has restarted clear Safari's cache : Settings > Safari > Clear Cookies And Data (Clear Cache on iOS 4) and also Clear History
    You could also close Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.

  • HT1766 I have an IPAD 2 and when I awoke it I received an error message; "This IPad hasn't been backed up for 3 weeks." It goes on to tell me when backups occur but it doesn't back up automatically. How can I get rid of this message and use my IPad?

    I have an IPad 2 and when I woke it up it gave me an error message on the desktop: "iCloud backup: This IPad hasn't been backed up in 3 weeks. Backups happen when this IPad is plugged in, locked, and connected to Wi-Fi." I have done all of these and it still doesn't allow me to get rid of the error message. I even connected the IPad to the computer and attempted to back it up using the Web but it still doesn't get rid of the message. Help!

    Reset your iPad to clear that condition:
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).

  • I keep getting a notification that says "Google Talk authentication failed"...does anyone know how to get rid of this?  I tried looking for it in the apps but not really sure what google talk is or how to get rid of this message that keeps popping up.

    How do i get rid of the message that keeps popping up that says "google talk authentication failed"????

    funwidowlady,
    Good afternoon!  I'm glad I can be here to help with this error. In the device this application is identified only as 'Talk', so that be more familiar to you. First I recommend opening the 'Market' app on your phone, then Menu>My Apps to see if this application requires an update. It will display a list on top of all applications that need to be updated. If nothing exists, tap 'Home' and go into 'Settings>Applications>Manage Applications>Talk, then tap 'Clear Cache' and 'Clear Data' to remove the history of that application and stop the notifications.  The app will remain on your phone for future use, if you desire to take advantage of it. Read more about Google Talk here
    Thank you!
    AdamE_VZW
    Follow us on Twitter @VZWSupport

  • How to get rid of the message Client submission probe stuck in the Exchange Server Queue?

    We have Exchange 2013 in Hybrid with Office 365.
    How to get rid of the message in the Exchange Server Queue?
    Mounting the database fixed it.
    Thanks!!!

    Mounting the database fixed it.

  • How can I get rid of error message?

    Have tried to set up my pop3 email on my 6700 slide using the same settings I've always used on previous phones/pc and for some reason emails just won't send.  However my main problem is that I keep getting a message flash on screen saying 'Unable to send message:[Email address].  As soon as I clear it, it comes back about 2 seconds later and just won't go away.  Stops me doing anything on the phone as I have to keep clearing the message every few seconds.  I've gone into drafts/outbox, every folder I can find in 'Messaging' and there's no copy of the email to even delete it.  I've even gone to my mail server on the web and the message isn't showing.  From the mailbox itself on the phone, I've tried to folders under 'More folders' but there's nothing showing - no sent or drafts folders.  How can I stop this error message appearing every 2 seconds?

    Hello, Sorry to hear that you can't get rid of this message from your device. I suggest you try going to http://email.nokia.com and register there. I think you'll find your email experience much more to your liking there.
    Chris McK - Nokia Messaging/Social Product Marketing

  • Okay, so I'm trying to download an album from the store on the iPod. It's telling me "Item is currently being modified. Please try again later." Its really starting to make me mad; Is there anyway to get rid of that message?

    It's telling me "Item is currently being modified. Please try again later." Its really starting to make me mad; Is there any way to get rid of that message?
    PS. The reason I'm downloading directly from the iPod is because the laptop that had my iPod synched to it crashed and the recovery disk didn't fix it. I don't wanna lose all my songs. :/

    If it says it is temporarily being modified than you should wait until tomorrow or later tonight. If it keeps happening, try downloading something else. If it has the same message, it is probably a problem with iTunes on your iPod. If it downloads regularly, there must just be a problem with the album.

  • How can I get rid of a message from iCloud?

    On my iPhone 5 a white box appears saying "Sign in to iCloud". When I tap Cancel the box keeps returning and I can't use my iPhone. I did a system reset and that did not do any good. How can I stop this message from reappearing?

    Morning5,
    you can get rid of a message asking for a keychain password by resetting your keychain.

  • Can,t get rid of hdmi message,keeps popping up

    My razr32 keeps coming up with an hdmi message and asking me what to do.took it to verizon store and they said phone is no good,might be a virus.ican't get rid of this message.they tried a restore,but no help.any thoughts?thanx

    Hello Jaman1953
    The problem you have described is very irritating. I would be glad to look into this issue with you.
    Do you have a HDMI cable to attach and remove to the device? If so please try that, then power the device off and remove and reinsert the Sim card. Does the error come back?
    If the problem persists, please try a hard reset. Here's a link to the reset: http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=49625
    Please let me know if this helps.
    Thank you
    JoeL_VZW
    Please follow us on twitter @vzwsupport

  • When I go to purchase music or books on my iPad, I get a message that says " The book ........ Cannot be download at this time.  Try again later.  I don't want to download it.  How do I get rid of this message?

    When I go to purchase music or books on my iPad, a message appears that a certain book cannot be downloaded at this time.  Please try later.  I don't want to download it and I want to get rid of this message.  Any suggestions.?

    What is the exact error. You need to be more specific

  • I can't get rid of the message, n error occurred with the publication of album.  It just keep coming back, and can't move around in IPhoto.

    I can't get rid of the message, n error occurred with the publication of album.  It just keep coming back, and can't move around in IPhoto.

    Okay, folks, after a 3 1/2 hour phone call with a (very patient) telephone support person at Blackberry, here's what I learned.
    You can check your USB drivers this way:
    Plug in your phone into your USB drive. Assuming your Blackberry is "seen" by your computer...
    Go into the Device Manager on your computer (control panel)
    Expand the Universal Serial Bus controllers item on the bottom of the list
    Right-click on BlackBerry Smartphone and choose Properties
    Click on the Driver tab
    Click on the Driver Details button
    You should see one driver. I saw two. The one the BlackBerry likes is the RimUsb one.
    So here's what NOT to do: We tossed the entire driver that was the "extra". This effectively made using my mouse and keyboard impossible, as they are USB, and sent my poor husband into the basement to find a million-year-old keyboard (and then a mouse) with the old fashioned kind of connectors (PS2). Bleh. Don't do that.
    Here's what I did that worked (not saything this will work for you -- this modifies the Registry so better do a system backup with that backup and restore if you're nervous about this sort of thing):
    From the start menu, choose run, and type regedit to get into the Registry editor.
    Follow this file path: Computer, HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Control, Class
    Click on: {36FCE60-C465-11CF-8056-4445535400000}
    If there's an item on the right called "UpperFilters", delete it. (see pictures)
    Hope this helps someone.
    Karin
    First pic: shows "before"
    Second pic: shows full file path and "after"

  • I call a class using a Button but i cant get rid of the old page??

    Hey,
    I cant get rid off the current page when i want to go to the next page! this.dispose(); doesnt work because the class doesnt implement ActionListener!! This is the code that i have used:
    JButton back = new JButton("BACK");
            back.addActionListener(new ActionListener()       
                  public void actionPerformed(ActionEvent e)           
                       VowelmSound s = new VowelmSound();
                        s.setSize(Toolkit.getDefaultToolkit().getScreenSize());
                        s.show();
                        //this.dispose();           
             });         });       and this is the code for main
    public static void main(String[] args)
    {JFrame draw = new punjabidraw();   
             draw.setVisible(true);  
    }so was wondering if there was another method i could use to get rid of the old page?? repaint maybe???
    Hope you can help
    Kind Regards
    RSH

    //this.dispose(); 'This' is a nameless ActionListener object. Can't be dispose()ed.
    What do you want to dispose() really?
    And, what is your punjabidraw class?
    Save the currend page reference in a variable called, say, curPage, then do
    curPage.dispose();in the event handler for the button.

Maybe you are looking for