Please a quick One --- HELP

Hello guys,
I am writing a prog with java and I would like to know how to eliminate spaces, tabs in between characters eg
1 1 eliminate the space between the 1s to give just 11. Also take
sq uid to give just squid!
How do I proceed???

How do I handle the buttons of a showConfirmDialog box with
YES_NO_OPTION Have a read of http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JOptionPane.html
showConfirmDialog() has a documented return value. Compare it with
the static int fields defined by this class like JOptionPane.YES_OPTION.
Don't forget that the user might close the dialog without clicking
on either button.
http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
might also be useful.
(Swing questions should really go to the Swing forum.)

Similar Messages

  • Report Scripts - Please Can Some One Help Me

    Hello Gurus,
    Is it possible to display 2 members of the same dimension in adjacent columns using Report Scripts? if not what is the best available option?
    Consider this Sample Outline
    +Product
    +-Cofee
    +---Cafined
    +-------1100
    +-------1200
    +---Decafined
    +-------1300
    +-------1400
    +-Soda
    +---Coke
    +-------1500
    The format of the desired report is
    ======= Jan Feb Mar
    1100 Cofee 8 8 8
    1200 Cofee 8 8 8
    1300 Cofee 7 7 7
    1400 Cofee 7 7 7
    1500 Soda 6 6 6
    ================
    Please Can some one help me in this regard!
    Thanks In Advance

    If I remember correctly when I wanted to do something similar I imported the report with the level 0 members into SQL Server and then joined on a mapping table (was a parent/child table in our case) to get the other column. In our situation we already had the mapping table readily available because this is where the dimension was built from!

  • I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    I can't sync my iPad to the iTunes it's give me an unknown error  message 0xe8000012 I don't know how to fix it and where is the problem could be need format or the problem is in the charging port please can any one help me

    Unknown Error containing "0xE" when restoring
    To resolve this issue, follow the steps in iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting. If you have a Windows computer with an Intel® 5 series/3400 series chipset, you may need updates for your chipset drivers. See iTunes for Windows: Issues syncing iOS devices with P55 and related Intel Chipsets for more information.
    From Here  >  http://support.apple.com/kb/TS3694

  • I got stolen ipad 2 was pp on "finf my iphone" what i can do to find this ...was a lot of work of 2 years ther ...it is any think i can do.please can any one help me...i dont wont ipad just all my staff

    How i can track this ipad

    Hello Sebastiangavel,
    It sounds like your iPad was stolen and you would like information about using Find my iPad that you had set up before hand. Here is an article about using that function:
    iCloud: Locate your device
    http://support.apple.com/kb/PH2698?viewlocale=en_US
    Also with regard to the iPad being stolen, I would look at the information in the following article about what to do in this situation:
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/ht5668
    If you enabled Find My iPhone on your missing device
    These steps require that Find My iPhone was enabled on your device before it was lost or stolen.
    Attempt to locate your device using Find My iPhone at icloud.com/find, or using the free Find My iPhone app.
    Put the device in Lost Mode to set a 4-digit passcode and display a custom message with your phone number on your device. While the device is in Lost Mode, you can also keep track of changes to your device's location. Lost Mode requires that your missing device be using iOS 6 or later. If your device is using iOS 5, you can still lock your device remotely and display a message on the screen.
    If you want to delete all of your personal information from your missing device, you can erase it remotely. Please note that when you erase a device, you will no longer be able to locate it.
    Report your lost or stolen device to local law enforcement and your wireless carrier. Apple doesn't track or flag lost or stolen products, but you can use My Support Profile (supportprofile.apple.com) to find a list of serial numbers for products that you've purchased or registered with your Apple ID.
    Note: If your missing device is offline, you can still put it in Lost Mode, lock it, or erase it. Your commands will take effect when the device comes back online.
    If you did not enable Find My iPhone on your missing device
    If you did not enable Find My iPhone before it was lost or stolen, you can't use it to locate or protect your device, but you can still follow these steps:
    Change your iCloud password to ensure that no one else can use your device to delete or make changes to your iCloud data.
    Report your lost or stolen device to local law enforcement and your wireless carrier. Apple doesn't track or flag lost or stolen products, but you can use My Support Profile (supportprofile.apple.com) to find a list of serial numbers for products that you've purchased or registered with your Apple ID.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Please Could some one Help me

    Hi experts i have to develop a report based on the following data  Using ODS and Cube.Iam providing all the details as under.
    DSO
    Key Part
    0CUSTOMER
    ZTID
    Territory ID
    Data Part
    0FISCYEAR
    Zpercent Key Figure
    Cube
    Customer
    0Customer
    Territory
    ZTID
    Time
    0FISCYEAR
    Key Figures
    ZREVENUE
    Sample Data in DSO
    Customer Territory 0FISCYEAR Zpercent
    C1 T1 2008 50%
    C1 T2 2008 50%
    C2 T1 2008 25%
    C2 T2 2008 25%
    C2 T3 2008 50%
    Sample Data into Cube
    C1 2008 100000 USD
    C2 2008 200000 USD
    C3 2008 100000 USD
    Sample Report 1
    C1 T1 2008 50000
    C1 T2 2008 50000
    C2 T1 2008 50000
    C2 T2 2008 50000
    C2 T3 2008 10000
    C3     2008  10000
    i have desinged cube and DSO as per the requirement with given characteristics.But iam not able to generate the report as per requirement.Iam using multiprovider with cube and DSO and then developing report.I will allocate points to all hose help me and advance thanks.
    Bye

    Hi
    Try this and let me know in case of any issues
    Create a calculated key figures with the formula (NDIM(ZREVENUE)) * (Zpercent / 100)
    Please let me know the assignment in the Multiprovider for customer and fiscal year
    Regards
    Rohit
    Edited by: Rohit Deshmukh on Jul 2, 2008 9:13 AM

  • My search iPhone won't search anything in my phone or the web when I type anything in, nothing happenes, nothing comes up,no contacts, no search web option...nothing!! Please can some one help? This is the new iPhone 4s !

    I wonder if anyone can give me some help with my problem?
    When I try and search my "search iPhone" nothing comes up atall! Wen I used to type in anything,a letter or phrase some suggestions came up but I'm not getting this now! Wen I type in the box nothing comes up and wen I press search nothing comes up either! This is now the second time this has happened, iv only had this fone 2/3weeks..wot going on? Can someone shed some light on this for me as its becoming a pain! The first time it happened I just restored my phone and it worked.. Well for a week as its now not working again!!
    Is this a wifi problem maybe?
    My 2year old keeps switching the router of at the wall n turning it back on again, just wondering if maybe that's got anyfin to do with it??
    Any help would be great!!
    Thanks
    Susan xx

    My 2year old keeps switching the router of at the wall n turning it back on again, just wondering if maybe that's got anyfin to do with it??
    Not necessarily but turning the router off and an isn't a good idea regardless. You're constantly losing Wi-Fi connection when the router's off.
    Try resetting your iPhone.
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    Message was edited by: Carolyn

  • Please can come one help me

    When ever i plug in my ipod itunes freezes & when i unplug it goes back to normal & i got some new songs and i cant sync them on to my ipod

    This is a bad hardware error, Baseband Error. Some have reported getting through this error by Restoring iPhone with the SIM Card removed. Try that. Try restoring with different computer. Search Web some more for other thoughts.

  • Reallly Really Annoying,- Please some one help! ?

    Hey well basicly ive got the curve 8900 and regularly when i go to play music its showing headphones plugged in so i have to click the blackberry button and switch it to handset, But the worst thing is when i get a call its doing the same thing by the looks its switchin from headset, speaker and handset therefore i cannot hear my phone call this is really annoying please can some one help.
    Regards,
    James,

    Unless you haven't already done so... reload the device with latest software from your carriers site, look for funky apps you may have installed (sound/music/games), and then call your carrier for support - it should have a 1 years warranty where they ship you a new one!
    peace and love

  • I have a ipod touch 3rd generation, I cant seem to get it connected to the internet, it connects to the router but not the internet ?? can any one help please?

    i recently got an ipod touch 3rd generation, i cannot seem to get it connected to the internet... it connects to the router but cannot seem to get connected to the internet, it seems to connect to the router for a very short while and then suddenly disconnect again, i have tried various solutions but cant seem to solve it, this seems to be a common problem as i have seen many complaints on other forums, many say it may be the dns server . please can any one help?

    Tap Settings / General / Reset / Reset Network Settings.
    See if that helps.
    If not try the iPod touch - Wi-Fi Troubleshooting Assistant.

  • HT201210 In the attempt of updating the latest itune software, i am faced with the problem of not being able to be connected to itunes with my ipod touch that is blocked living the USB cable and the itune icons on my touch sceen. Can some one help me out

    In the attempt of updating my ipod touch, i am  faced with the problem of not being able to be connected to the itunes in my computer (windows xp ) because my ipod touch got blocked up, leaving the icon of USB cable and itunes on my touch screen. I am asked to restore my ipod first, but i have tried using all the examples stated and still can't help. Please please, can some one help me out ? Ones  in the process of trying, i see an error code: 1656 and most of the time nothing. Thanks

    See if placing the iPod in Recovery mode will allow a restore via iTunes
    Next try DFU mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    You can also try another computer to help determine if you have a computer or iPod problem.

  • Can any one help? "Windows cannot repair this computer automatically."

    I have a laptop satellite L455-S5000.
    And when I try and trun on my computer a black screen comes on that says "windows is loading files..."
    and after it loads a window pops up saying "startup repair is checking your computer for problems..."
    and after that gets done it says "Windows cannot repair this computer automatically" so I click "Send information about this problem (recommended)" and then I click "finish" then it shuts down. when I try turning it back on it does the same thing over. Please can any one help me fix it? Im really clueless about computers and I have know Idea what is wrong with it, or how to even go about fixing it. thanks.

    _Ashley_
    Turn the laptop off, hold down F8, turn the laptop on and let go of F8 when you see the Advanced Boot Options.
    In here, choose Repair Your Computer then press enter, follow the prompts, choose System Restore and restore your laptop to a point before the problems started.
    If the laptop cant get you there, a system recovery starts the laptop from it's factory state but you loose your programs and files doing that. Holding the "0" beside "9" while you turn the laptop on boots the laptop from its recovery partition if you accept data loss.

  • Hi, I have installed boot camp with wins xp home but i can't get on line with it. can only one help please.

    Hi, I have installed boot camp with wins xp home but i can't get on line with it. can only one help please.

    Please close this thread, I have managed to get a hold of a DVD including all the drivers, so I suppose that will work, if not one way then another.
    Thank you for the quick answers.

  • Hello, every one. Over the last few days I haven't been able to download any app from the app store. can any one help me, please?

    Over the last few days I haven't been able to download any app. can any one help me, please ? thank you.

    Andrea...
    You posted in the "Using Mac App Store" forum but your profile indicates you are using an iPad so that's what I'll try helping you with.
    On the iPad tap Settings > General > Reset > Reset Network Settings
    Then restart the iPad.  Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.
    If you still can't download apps, the problem may be your Wi-Fi connection >  iOS: Troubleshooting Wi-Fi networks and connections

  • Since itunes and apple tvs latest update I have had problem wtching movies on apple tv via my itunes can any one help, movie takes a very long time to load sometimes never, it use to work really well, whats going on please help?

    Since itunes and apple tvs latest update I have had problem wtching movies on apple tv via my itunes can any one help, movie takes a very long time to load sometimes never, it use to work really well, whats going on please help?

    You might find useful information in item D1 of Time Machine Troubleshooting.

  • HT1338 i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created.

    i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.

    You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
    Hope that helps.

Maybe you are looking for

  • How can I display a confirm box using JSP?

    Dear All, I am new to the Java language; please help! What I'd like to do is to prompt the user, within a loop, to click OK to continue the loop or CANCEL to exit the loop. I've tried to use JavaScript in conjunction w/ Form submittion to handle the

  • How can i remove photos from my photo stream?

    I guess like everyone else I've been messing around with photo stream and adding random pictures to test it out. But I'd like to be able to remove images from photo stream too but for thre life in me I can't find a way to do it. Doe's anyone have any

  • SAP APO and WM

    Hello All, Is it possible to put some warehouse related controls and limitations in SAP APO (SCM) without having EWM? For example, a certain warehouse can only process 300 orders and if anyone tries to place order beyond 300 then it automatically pus

  • Two Questions one Sidebar (finder) one Display

    Under Places in the Sidebar I deleted the Music Reference with the blue iTunes note icon, anyone know how to get it back? I can add my iTunes folder but then it uses just a blue folder icon. The second is when i quite most applications but not all th

  • Statement or preparedStatement

    Hi all guys, Please tell me when we use Statement and when preparedStatement? As many times we use preparedStatement so what is the use of Statement ? And what is the advantage of using preparedStatement ? What is difference between in both ? please