New line doesn't work

Hi,
I am reading a string from the using BufferedReader.readline() method. The string is "Test \nString". I need a line break when i display the string. I read in one of the groups that BufferedReader converts "\n" to hexadecimal and its no more a new line character.
Please suggest if there is some way to treat \n as a new line instead of just a part of string.
Thanx
Akhil

I think you have to parse the Line whit StringTokenizer.
Bye

Similar Messages

  • My cellcom line doesn't work with my iPhone here in Israel, why? Is there any way I can solve this issue?

    My cellcom line doesn't work with my iPhone here in Israel, why? Is there any way I can solve this issue?

    Please explain.
    What does "cellcom line doesn't work with my iPhone" mean?
    What are you trying?  What is happening?
    Where did you buy the iphone?
    Any info abnout your issue at all?

  • New Version Doesn't Work On ESPN

    All I get is the black box on most of espn.com. The problem started when I downloaded the new version. I can watch video on most sites; but the screen simply stays black, with no arrows or control bar at the bottom (play, volume, etc.) on espn.com and a couple of others. I've tried most of the "fixes" I've found, to no avail. I'm using FP version 10.3.181.34 and IE 8 with Windows 7 on a laptop. I've uninstalled and reinstalled, and it still doesn't work. I don't have any adblock software, and I've tried it with a pop-up blocker on and off, and it still doesn't work. I've tried it with hardware acceleration enabled and disabled, and it still doesn't work. I've increased and decreased my security settings to every available level and tried it, and it still doesn't work.
    Hard to believe this is an improvement. Now I can't remember what my old version was, or I'd just go back to it... it worked with everything on every site.

    Perhaps to somebody who spends most of their time on a computer, and makes it their business to know how to do all these things, it isn't jumping through hoops. For someone with no time and less patience for such tasks, and who expects a computer company and its hardware and software manufacturers to automatically provide working updates for the equipment they paid good money for, it is a burden. I have spent hours trying to either update that driver or find out why it's a bad idea to do so. I happen to believe them when they advise against it, and suggest it could have other negative effects on other aspects of the system. Not only do I believe it, it's happened to me on more than one occasion over the years; so I'm understandably hesitant to discard the advice of the manufacturer and give it a try on my own.
    I updated all my drivers from the Dell driver update utility; and like the Intel site said, there isn't an updated one for my adapter. So, my choices appear to be, try the driver that isn't necessarily designed for my system, and hope for the best; or just uninstall the new version of FP, and reinstall the previous version that worked just fine. Because I'm not savvy enough to undo any potentially disastrous consequences from using the wrong driver, I'm leaning toward the latter resolution. I'm also having a tough time understanding how that single driver update is going to make my FP finally work for only the ESPN site. As I said, with the current driver, it works on virtually every other site, and the old version of FP, with the current driver, worked on every site, bar none. So, essentially I'd be installing a whole new driver that may or may not make my FP work on a single site. See what I'm getting at? It doesn't seem plausible that the driver was designed for the sole purpose of making one application work on a single site. Thanks for all the assistance; I appreciate everyone who devoted so much time to my issue.
    Date: Sun, 7 Aug 2011 18:59:06 -0600
    From: [email protected]
    To: [email protected]
    Subject: New Version Doesn't Work On ESPN
    G8R8U2 wrote:having to jump through all these hoops...
    Installing a simple driver update is "jumping though the hoops"...?  I don't know why the Intel utility gave you that strange message; another easy way to update your outdated drivers is http://drivermax.com/ - the free version allows up to two driver downloads per day.
    >

  • Macbook pro mid 2006 (Intel Core Duo) how can I install new OS ? I cannot update the 10.6.8 and new software doesn't work anymore

    Macbook pro mid 2006 - how can I install new OS ? I cannot update the 10.6.8 version and new software doesn't work.

    A Core Duo Mac can't be upgraded past 10.6.8.
    (123371)

  • 9800 new battery doesn't work

    hello
    I bought a new battery for my torch, cause the old one draines very quickly. so the new battery doesn't work, it has an X and the OS doesn't load. I've reinstaled 3 times the OS so it's not this problem. also I've charged the battery 1 day, with blackberry original charger.
    I've tried every step I found on forums but with nou luck
    any help please..
    the battery it's new, it's the same as the original one, I don't know if it's original 100% but it's the same as the one I had before.

    BrownSugar13 wrote:
    I have been having the exact same problem.  I replaced my battery and it still drains really quickly; 3 hours after a full charge and no use and the battery's drained.
    I would also appreciate any advice.....
    Hi and Welcome to the Community!
    I recommend that you attempt to boot into Safe Mode:
    KB17877 How to start a BlackBerry smartphone in Safe Mode
    It may take you multiple attempts to get the ESC key sequence (press/release/hold) correct, so be patient. When successfully into Safe Mode, see what happens.
    If the behavior ceases, then think carefully...what happened just before this behavior started? A new app? An update? A Theme? Something else? Think carefully as the smallest change could be causal...and attempt to undo whatever that was.
    If the behavior continues in Safe Mode, then you should investigate more harsh remedies...WIPE, OS Reload, OS Update, BBSAK Wipe/Reload, "Bare Bones" diagnostic reload process, etc.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • New Thunar doesn't work with Launchy, Chromium

    After installing the new XFCE 4.8, the new Thunar now doesn't work with Launchy, or Chromium. I haven't tried any other GUI programs that launch the file manager (Gnome-Do, Docks etc), but the only way to launchy Thunar now is via the XFCE Panel, or the desktop (via XFCE programs themselves, in essence).
    I've tested this, and opening a normal folder or file with Launchy means nothing happens. I'm guessing that Launchy is using Thunar here to launch the folder/file, and it's not working. For some reason though, I can launch in /usr/bin, which I'm guessing might be because Launchy doesn't use Thunar for that (only guesses though)? Meanwhile, Chromium downloads can't be opened, and the directory that contains the download can't be opened either. When I click the button that launches the download, or opens the directory containing the download, nothing happens.
    I have tried reinstalling Launchy and Thunar, to no avail. I haven't tried downgrading Thunar, but that's a process I'd rather not go through.
    Last edited by louis058 (2011-01-22 21:22:50)

    Hi!
    I don't know Launchy, but Chromium use xdg-open script for figure out which DE (Desktop Environment) is running and then, launch the properly file manager. With the new version of XFCE, this script doesn't detect XFCE and consider a generic DE. There are many solutions, but I just modified the xdg-open script (/usr/bin/xdg-open) and replaced the line:
    elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
    by a more logical line:
    elif [ "$DESKTOP_SESSION" = "xfce" ]; then DE=xfce;
    . It isn't the best solution because will be a new update for xdg scripts, I guess.
    For Launchy, you can launch it in a terminal and see if say some kind of error, like Chromium did.
    Cheers!
    Last edited by Versuchen (2011-01-30 16:43:25)

  • The open a new tab doesn't work

    the button named : ''Open a new tab'' toes not work....when i pres it in does nothing....i just upgraded firefox and after that it doesn't work

    That can a problem with the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    See:
    * [[Troubleshooting extensions and themes]]

  • "Get Info" - new shortcut doesn't work

    I'm trying to create a more convenient keyboard shortcut for "Get Info" on iTunes, since I use it a lot. I want to replace Command-I with F19 on a full-size aluminum Apple keyboard.
    Using the Application Shortcuts I entered F19 as the new "Get Info" shortcut, and iTunes duly shows F19 on the menu; Command-I does not work any longer. So far so good - the problem is that it doesn't work on iTunes. It works in the Finder, I can invoke the Info window of a file that way now, but neither an universal All Applications shortcut or an iTunes specific one will bring up the information of a track, which is what I want.
    Any ideas? This seems to be a genuine bug, since the menu is updated properly - it just fails to work.

    Yes, of course. I understand you're just trying to rule out the obvious first.

  • Clicking on "+" to open new tab doesn't work

    Closeing firefox and restarting doesn't fix problem. Using firefox 3.6 on windows xp, I don't want to upgrade to newer version, since there doesn't not appear to be a navigation bar on the newer version.

    Thank you for your response Cor-el. In fact the Ask.com toolbar had recently appeared on my browser, and I immediately turned it off since I didn't want it. It's frustrating how they can sneak these things in on us sometimes in spite of our attempts to keep so much clutter out. So this issue of the new tab button not working anymore in Firefox 3.6, even after turning off the Ask.com toolbar, it was finally enough to make me cave in to the constant badgering to upgrade to Firefox 4.0 ... Christ these endless upgrades are annoying ... Adobe Acrobat Reader has to be the worst offender in this category. Anyway, after installing Firefox 4.0, there was a terrible glitch, which was an error message box that popped up every single time I clicked on any link on any page. This was the last straw. One can only bear so much, then one is forced to look for new answers. I installed Google Chrome. Naturally the interface, look and feel are quite different from Firefox, but after less than 24 hours with Google Chrome, I am really liking it. It is truly a step up in the browsing experience it provides; so fast, and the way it handles bookmarks is so nice; even sophisticated. Oh, and about the relentless nagging upgrade messages from all manner of software that have caused us all so much suffering over the years, Google Chrome upgrades itself automatically behind the scenes without any need to bother you about such trifle maintenance issues. I recommend it to everyone. Step up to a new enlightened browsing experience People! Try Google Chrome and you'll be glad you did!

  • QuickTime movies cannot display properly, refresh doesn't work propely for html files on hard disk, opening a new tab doesn't work

    Hi!
    I have tried Firefox V4 (but have since reused V3.6.16). The following problems were found:
    a. Cannot display the controls used for QuickTime movies.
    b. The refresh button doesn't function at all if the html files reside on the hard disk. I do this because I need to test the appearance of the web page before uploading to the server.
    This problem also exists for v3.6.14 to v3.6.16
    c. When opening a new tab, it doesn't work. Instead, it will open another instance of the browser. By right, it has to open the web page on the same instance of the browser.
    This is my feedback.
    Thanks!!!!! :)

    I had some advice to try recording QT audio and adding to the slide.  Now, when recording to Quicktime, it does embed it, but in recording the presentation, it either doubles up the audio giving a strange echo or does the same thing if you ever edit the presentation.
    The problem Keynote has is that the sound and image content are not locked together which causes out of sync errors. This is why many users choose video editing applications when using sound in the presentations, as they have both image and audio tracks to sync sound properly together.
    Start a new presentation to remove the previous sound recording, Keynote is holding onto the other sound files.
    Add the graphic items to each slide and one sound file to each slide for the voice over
    1 - In Inspector > Transitions;  use start transitions automatically and set each transitions delay to the duration of the individual sound file.
    2 - In QT export, set Fixed Timing and delete the value in the duration box, QT will then use the custom timings for each individual slide.
    This procedure does work exactly as needed, Iv used this for nearly 6 years using 4 different versions of Keynote.

  • Open new jframe doesn't work when put into jar

    I cant get my program to open up a new frame. When i run my program from netbeans it works fine but when i put it into an executable jar it doesn't work. I have three frames, Main, About and SelectLanguage. From Main i can create a new instance of this from this window but it wont open either of the other two. This is the code i use for all three. Please help.
    new About().show();please help.
    clarkie

    well, if that's the code you use for all three, and
    they are different classes, maybe you should call the
    right class name?
    The code you posted isn't helpful, and I can't begin
    to guess what you're doing wrong.nah, i use
    new Main().show();
    new About().show();
    new SelectLanguage().show();also, i get this error:
    java.lang.NoClassDefFoundError: org/netbeans/lib/awtextra/AbsoluteLayout
    at About.initComponents(About.java:29)
    at About.<init>(About.java:15)
    at Main.aboutMenuItemActionPerformed(Main.java:409)
    at Main.access$2200(Main.java:19)
    at Main$22.actionPerformed(Main.java:344)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
    d(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • Embeded command line doesn't work

    Can you tell me why this doesn't work
    It won't work when there is a | or > involved in the syntax
    Runtime rt;
    Process prs;
    prs = rt.exec("tifftopnm sample.tif | gocr -");
    OR
    prs = rt.exec("ls > outputFile");
    And this example will worked fine.
    prs = rt.exec("ls -alt");
    Thanks,
    Tom

    I use an alternative form of exec()
    import java.io.*;
    public class ExecutingALinuxCommand
        static class PipeInputStreamToOutputStream implements Runnable
            PipeInputStreamToOutputStream(InputStream is, OutputStream os)
                is_ = is;
                os_ = os;
            public void run()
                try
                    byte[] buffer = new byte[1024];
                    for(int count = 0; (count = is_.read(buffer)) >= 0;)
                        os_.write(buffer, 0, count);
                catch (IOException e)
                    e.printStackTrace();
            private final InputStream is_;
            private final OutputStream os_;
        public static void main(String[] args)
            try
                String[] command = {"sh","-c","ls > /home/sabre/out"};
                final Process process = Runtime.getRuntime().exec(command);
                new Thread(new PipeInputStreamToOutputStream(process.getInputStream(), System.out)).start();
                new Thread(new PipeInputStreamToOutputStream(process.getErrorStream(), System.err)).start();
                int returnCode = process.waitFor();
                System.out.println("Return code = " + returnCode);
            catch (Exception e)
                e.printStackTrace();
    }

  • The synchronisation of mediathek from the PC to the new IPad doesn't work.

    Hello community
    I've several Apple products is use, and so far I had no problems to get them synchronised or updated. I have on all of them the same music tiltles and apps.
    Yesterday I got a brand new IPad2 - WiFi 16 GB.
    And now I have some problems with the synchronisation of the mediathek from the PC to the IPad.
    It doesn't work. It shows the recommeded audio space, after starting the synchronisation it counts 5 steps of the synchronisation in the top bar of the screen;
    when it's finished, the recommendd space indication goes away, and the IPad is still "empty*. Exception: Some bought-in titles.
    I've checked several websites, but non of them was really useful. By the way, I've already updated the IPad as well as ITunes to the most acutal software release.
    and I've alredays reset the IPad back to the factories setting..
    Is there any good idea what I could do ??

    That is bizarre. Do you have any add-ons that change the default tab behavior? If so, try disabling them temporarily and see whether that helps.

  • Can't access iTunes Store: New Safari doesn't work on my version of Mac!

    Hey guys.
    I'm a new owner of an iPhone, and i was just planning to purchase an app. I opened the itunes store tab on my iTunes... i have to download the newest version of Safari.
    Okay. So i went and did that on the Mac Download site. I selected the Leopard option. Open up...
    Halfway through the installation process, it tells me that my Version is doesn't work. It only works on Mac OS X 10. 5.8 ?!
    What i am doing wrong?

    Update your OSX to 10.5.8. It is free to update. It is suggested that you d/l the 'combo' update. This will make sure all required files are installed with the update.
    Once that is done you should be able to install the version of Safari that you have d/l.
    MJ

  • [SOLVED] KDE Start New Session doesn't work from lock screen

    On my laptop, if I lock the KDE 4 session and then click Switch Users > Start New Session, I get a login screen and can log in as a different user. All good.
    If I do the same thing on my desktop, it doesn't work. When I click Switch Users > Start New Session, it doesn't start a new session or switch VTs. Instead, I just get reprompted for the existing user's password.
    Both machines are running fully updated Arch. Anyone know how I can troubleshoot this? The only difference I can think of between the laptop and desktop is that the desktop has nomodeset specified as a kernel boot parameter. (It won't boot without it.) Could this be interfering with automatic VT switching? Manual VT switching (e.g. Ctrl+Alt+F1) works fine.
    Last edited by Rob_H (2014-12-27 14:28:06)

    Little more detail. Checking the journal, I can see Xorg is failing to start on display :1. If I compare Xorg.0.log with Xorg.1.log, it appears that it's not finding the proprietary NVIDIA driver in the second case. Don't know why it would be any different for :1, though. See?
    Xorg.0.log (good):
    [ 10.219] (II) LoadModule: "glx"
    [ 10.220] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 10.293] (II) Module glx: vendor="NVIDIA Corporation"
    [ 10.293] compiled for 4.0.2, module version = 1.0.0
    [ 10.293] Module class: X.Org Server Extension
    [ 10.294] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 10.294] (II) Applying OutputClass "nvidia" to /dev/dri/card0
    [ 10.294] loading driver: nvidia
    [ 10.294] (==) Matched nvidia as autoconfigured driver 0
    [ 10.294] (==) Matched nouveau as autoconfigured driver 1
    [ 10.294] (==) Matched nv as autoconfigured driver 2
    [ 10.294] (==) Matched nouveau as autoconfigured driver 3
    [ 10.294] (==) Matched nv as autoconfigured driver 4
    [ 10.294] (==) Matched modesetting as autoconfigured driver 5
    [ 10.294] (==) Matched fbdev as autoconfigured driver 6
    [ 10.294] (==) Matched vesa as autoconfigured driver 7
    [ 10.294] (==) Assigned the driver to the xf86ConfigLayout
    [ 10.294] (II) LoadModule: "nvidia"
    [ 10.294] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 10.300] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 10.300] compiled for 4.0.2, module version = 1.0.0
    [ 10.300] Module class: X.Org Video Driver
    Xorg.1.log (bad):
    [ 2153.825] (II) LoadModule: "glx"
    [ 2153.825] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 2153.833] (II) Module glx: vendor="NVIDIA Corporation"
    [ 2153.833] compiled for 4.0.2, module version = 1.0.0
    [ 2153.833] Module class: X.Org Server Extension
    [ 2153.833] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 2153.833] (==) Matched nouveau as autoconfigured driver 0
    [ 2153.833] (==) Matched nv as autoconfigured driver 1
    [ 2153.833] (==) Matched modesetting as autoconfigured driver 2
    [ 2153.833] (==) Matched fbdev as autoconfigured driver 3
    [ 2153.833] (==) Matched vesa as autoconfigured driver 4
    [ 2153.833] (==) Assigned the driver to the xf86ConfigLayout
    [ 2153.833] (II) LoadModule: "nouveau"
    [ 2153.833] (WW) Warning, couldn't open module nouveau
    Any idea what would cause it to work for :0 but fail for :1?

Maybe you are looking for

  • I can't download a few songs in my iPod

    I can't download a few songs (in iTunes) in my iPod (bought in my iMac)

  • Proxy Sender (Authorization Issue)

    Hi Guys I've got a scenario where a proxy is triggered in ECC (ECQCLNT350) and goes to XI (XIQCLNT350). I've got the scenarion setup in XI and when I trigger the proxy in ECC it fails in sxmb_moni with an status error (No vendor specified) and when I

  • Multiple "games" in one FLA

    I want to make a game where you have multiple minigames, following up on eachother, with Motion Tweens between them. So this basically means: [---Motion tween---][actionscript & empty frame][---Motion tween---][actionscript & empty frame] what is the

  • HomeSite+ bundled with Dreamweaver MX 2004

    I bought Dreamwreaver when it was owned by Macromedia. At that time it was bundled with Flash MX 2004 and HomeSite+. This last piece of software turned out to be a very handy code editor which I have used ever since. As Windows versions came and went

  • Smart Mailboxes Aren't Working Correctly

    Not all of the criteria I have designated for my smart (so-called) mailboxes seem to affect all of my mail. For example, if I set the word "order" to be a condition in the "From" category, not every email with the word "order" in the "From" column is