Is there a way to make system.out.println() scroll down as it goes?

I am writing a program where I want to be able to read what's printed out in the console of my IDE through System.out.println() as the program runs/after the program runs. However, right now I run the program, the message prints out, and then when I go to read it the scroll bar is all the way up so I can see only the top of the print-out (the first thing printed out). Is there any way I can get the console to scroll along with the text, kind of like floating boxes you see on various websites for various reasons? In other words, can I get it so that when I look in the console at any given moment of the program running, I am looking at the newest text printed out (the text at the bottom of the "page")? Thank you!

That would be an IDE problem and not a Java one. You could redirect output into a text file so you can read at your leisure and scroll up and down as much as you like.

Similar Messages

  • Is there a way to force System.out.println to run when called

    I working on my first threaded program and having a hard time debugging. I've used System.out.println to let me know what's going on but due (I assume) to the nature of threads the output is not sequential. Is there a way to force println to execute immediatly so that they show up in the order they were called?
    Thanks --- Mike

    mjs1138 wrote:
    endasil, Thanks for the reply. I'm currenlty running the program from within the NetBeans IDE. It is the output displayed by in NetBeans "output" that I'm looking at.
    --- MikeI don't use Netbeans, but I would guess that it too pipes Standard Out and Standard Error to the same console. You didn't address my comment. Are you printing to System.err as well? This happens implicitly if you use Exception.printStackTrace(), for example.

  • Help: What can make "System.out.println" not displaying anything?

    Hello,
    We have Portal 10g.
    I have noticed a pb on the interpretation of existing JSP pages.
    I simplified the code... and I noticed that even this command doesn't work :
    <%
    System.out.println("Hello World");
    %>
    Any idea ?
    Is there any security ? permission I should get ?
    JSP works fine on our old 8i environment ...
    Thanks in advance for your help.
    Olivier

    Olivier,
    between 8i and 10g are aeons of time (for computer technology). As far as I recall, in 8i came with a Apache and JServ module. This supported Servlets and JSP through a special Oracle implementation. After that OC4J as a J2EE container for EJBs and Servlets/JSPs was introduced.
    Using JSPs with the database installation only is not advised anymore. You can use OC4J for that. But be aware that will require some changes in the configuration and deployment of JSPs.
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is there a way to make the arrow keys scroll through a page (webpage or other)? Lately, it seems to go right from the top of the page to the bottom, skipping everything in between.

    Is there a way to make sure the arrow keys scroll through a page rather than jumping from the top to the bottom?

    It is kind of strange that the files are not being overwritten. If you publish to a local folder and upload with an FTP app you should be able to set this to over write the old files.
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html

  • As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

    As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

    As a graphic designer, I am creating ePubs that will be seen on iPads running, ios5, ios6 and ios7.  Each version displays the page differently.  Is there a way to make the display consistent on all systems?

  • Is there a way to make it automatically set the ouputs of new tracks to Bus 5? (or something other than Stereo Out?)

    When I add a new track, it is automatically set to Stereo Out, is there a way to make it automatically set to Bus 5?  I use a mix that sends everything through busses and every time I add a track it seems I have to adjust this.
    Thanks

    ...and/or setup one or more tracks the way you want.. and then create/save a template and load that when you want to start a new project...
    You can even have Logic (via it's Startup preferences) autoload that template every time you start a new project... by choosing your template as the default one.
    See this page in the User Guide for more info

  • My MacBook freezes occasionally...is there a way to bring it out of frozen?  What would be causing it to freeze?

    My MacBook freezes @ least once a week.  I have to shut it down.  What might be causing it to freeze & is there another way to bring it out of frozen other than shutting it down?

    Not enough free space on the disk can cause the system to freeze...
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space
    Check the startup disk in case it needs repairing >  Using Disk Utility to verify or repair disks
    MacBook, Mac OS X (10.6.5)  <  your profile
    If that is correct, when you can, you need to update to v10.6.8
    Updates are available from your Apple menu > Software Update...
    Not enough RAM can cause the operating system to freeze also. You may want to consider increasing memory. To see how much memory you have installed click your Apple menu icon then click About This Mac. That will prompt the System Profiler. See Memory under Hardware on the left.

  • There a way to make sure two elements aren't randomly chosen twice?

    I want to make an array of 52 cards - then draw 21, but I want to make sure not to have any duplicates....
    Is there some easy way with ArrayLists or Linked lists to accomplish this?
    I am going to make a second array of random cards and thought of somehow making a variable or logic that reports that the card is taken, but I cant help but think there is a way to shrink the array as I take the card out or something like that.
    Help?
    Message was edited by:
    tvance929

    import java.util.*;
    public class ShuffleExample {
         public static void main(String[] args) {
              List < Integer > list = new ArrayList < Integer > ();
              //start of with [0,51], for the sake of example
              for(int i=0; i < 52; ++i)
                   list.add(i);
              Collections.shuffle(list);
              System.out.println(list.subList(0, 21));
    }

  • Is there a way to make sure my MBP doesn't use a particular resolution or ?

    This may be a stupid question. I am hooking my MBP to my lcd tv. When I first connected the television, my tv displayed the message "mode not supported". Having played a little at this I simply went to my display preferences and looked at what resolution was running to my tv. (I have my display preferences in the toolbar) It was running 1920x1080 at 60Hz and right above that there was another 1920x1080 at 60Hz so I clicked on that and my external display lit right up. (Turns out the second resolution's refresh rate is actually 59.9Hz) So no problem right? Well I use this set up as sort of a media center so I like to run my MBP with its lid closed. When I close the lid, and rewake the MBP, my television gives me the message "mode not supported". So there is a signal but the tv can't display it. This leads me to believe that when I close the lid on my MBP it decides to run at the 60Hz as opposed to the functional 59.9Hz. The problem is I can't see the display to change the resolution or refresh rate. Is there a way to make sure my MBP doesn't use a particular resolution or refresh rate? I have tried changing it before I close the lid. I have tried it in mirrored display mode. Nothing works so far. Please Help!

    Not really. In the Displays preferences you can only check the option to show supported resolutions, but that only will be present with another display connected (I believe.) On laptops it isn't an option, obviously, but it may be present once you connect an external display.
    You might try using the shareware utility SwitchResX - VersionTracker or MacUpdate.

  • Iphone 4S newly updated to iOS8, keeps popping up window notifying me of things I turned off (cell usage, location, etc) to preserve battery life.  Is there any way to make them stop telling me every time I use the affected apps?

    I have finally taken the step of updating my iPhone 4S to iOS8 after learning the hard way last update to wait for the bugs to be worked out.  I was horrified to find that the battery was being sucked dry in no time at all.  After finding a great article posted elsewhere on the apple forums, I went through and turned off all unnecessary options involving the use of cell data, location services and background refreshing.  My battery life has thankfully returned to what it was before the update.  
    HOWEVER, now, every time I open an app for which I turned these things off, the window informing me of that pops up.   I am getting really irritated by this as I made all of these decisions deliberately and am well aware that I may need to go back and change them in order to activate certain capabilities when I want to use them.  I had done the same thing with the last iOS, but there were far fewer that needed to be turned off and the battery life seemed to be less affected by those that I left on so it was not the annoyance it has become now.
    Is there any way to make the phone stop presenting me with these idiot messages?   TIA

    Sorry no, there isn't a way to turn off those reminders.
    You can send Apple a feedback here  http://www.apple.com/feedback/

  • Is there a way to make Illustrator save in the background, like Photoshop?

    Out of Photoshop, InDesign and Illustrator, Illustrator is definitely the one I have most problems working with, due to small UI differences and ways of handling things
    Like the fact that you can't drag next to a number to change it, like in Photoshop. Or the fact that I can't sync my settings (it only says "Signed in as:", and when I press Manage Account, I'm taken to my CC files in Safari).
    But most annoying is the fact that whenever I'll save a document in Illustrator, a dialogue box opens letting me know the progress of the saving. Not only does this make me unable to continue working on the document (if the file is large, it takes some time), the app icon starts jumping in the dock if I switch to another program before the box appears.
    So, is there any way to make it save in the background, like in Photoshop? I'm running OS X, with Illustrator version 17.1.0.

    This really frustrates me, small differences between the apps that shouldn't be there.
    I understand you can't change the keyboard shortcuts to be the same/similar, but this is totally different. Let's hope it changes soon.

  • Pages: Is there a way to make lines independent, like a real word processor

    There are so many things that infuriate me about Pages. Save As.. missing, autosave, etc which are NOT like 99% of other apps on the Mac.
    Specifially (today):
    I have a letter in Pages. It’s a standard business letter you have see 1m times.
    After the first line of the address, at the top of the letter, I insert a carriage return and BINGO, the tabs in the middle of the letter are suddenly all messed up.
    Grrrrrr.
    Is there a way to make lines independent in Pages? I have this crazy belief that letters are not Web Pages, not HTML, and that an extra line somewhere should not reformat following lines way down the page.
    Alternately, is there some 3rd party word processor that works like the old Apple Works, with graphics and tables you can recommend?
    Thanks

    William Donelson wrote:
    There are so many things that infuriate me about Pages. Save As.. missing, autosave, etc which are NOT like 99% of other apps on the Mac.
    Save As is still there, hold down the option key as you go to the File menu. This is not Pages, it is Mountain Lion.
    Specifially (today):
    I have a letter in Pages. It’s a standard business letter you have see 1m times.
    After the first line of the address, at the top of the letter, I insert a carriage return and BINGO, the tabs in the middle of the letter are suddenly all messed up.
    Grrrrrr.
    Then you are doing something wrong, probably pounding away at spaces, tabs and returns to position things. Turn on invisibles to see what is going on:
    Menu > View > Show Invisibles
    If you have strings of tabs, spaces and returns that is the problem.
    Is there a way to make lines independent in Pages?
    Yes, hit the return key. Like every other Word Processing program.
    I have this crazy belief that letters are not Web Pages, not HTML, and that an extra line somewhere should not reformat following lines way down the page.
    Alternately, is there some 3rd party word processor that works like the old Apple Works, with graphics and tables you can recommend?
    Time to learn Pages. AppleWorks is dead. Stop pining for it. This is a case of user error and instead of blaming Pages, it would pay to find out what you have done and stop doing that.
    Pages, except for the fancy DTP features, tables and charts works like most other Word Processing apps. Just a case of learning new tricks. My guess is you have other stuff going on.

  • Is there a way to make the Form Wizard group things in the order I want it to?

    I am creating a multi-page checklist. Each question has a radio button with the possible answers of yes, no or n/a. When I run the Form Wizard, it detects the boxes I created, in Word using the Developer, but it puts all the yes's in a group, all the no's in a group and leaves the n/a's out. Is there a way to make it so when the Form Wizard creates the radio buttons, it puts a yes, no and n/a in one group? I don't want to have to create a sepearte group for each question. These checklists are long and there are hundreds of questions.

    The auto field detection feature is designed to look for Yes/No text labels next to each radio button group -- not specifically n/a. Do you have a group label to the left or above each group? This is how each group is determined -- if it's not there they'll default to check boxes. For more detail on how the auto field detection feature works, check out the tutorial Designing Forms for auto field detection. Also, there were a few improvements in the 9.2 release, so make sure you're using this point release or later.

  • Is there a way to make the bluetooth source I pick for Siri persistent?

    I have my iPhone paired with the factory Bluetooth hands-free audio in a car. I like using it for phone calls, but not for Siri.
    When I start Siri, I can choose my audio source, but the iPhone forgets the selection after that session, and defaults back to trying to use the car's speaker and mic the next time I use Siri.
    Is there a way to make this audio source selection persistent?
    Thanks,
    Heath

    Hey,
    I'm a Quadriplegic and I use my iPad with a mouthstick I made. Everything works great. Send me an email to bradcletter AT gmail.com and I'll help you out with everything!

  • Is there any way to make windows "sticky" in mission control?

    If I have several applications open, then invoke mission control, then click on a window to select it, the windows are in a different position the next time I invoke mission control.  This is like trying to hit a moving target, or as I sometimes refer to it,  "musical windows".  I've tried checking and uncheckng the mission control options in system preferences, but the windows still move all over.  Is there any way to make windows "sticky"?  What I would prefer ideally is that each group of windows remains in the same location, then new ones are added after.  I find it frustrating to have to scan mission control and locate the window I want, which is always being moved.
    -Thanks

    Go to Intel Download Center and select the 3000/4000 driver.
    you may need to uninstall the current driver if it won't install on its own

Maybe you are looking for

  • Ipod touch is not recognized by I tunes so cannot sync. It has worked ok previously

    My Ipod touch is not recognized by I tunes when plugged in on a lead. It has worked previously but has just stopped. This means I can no longer sync.

  • Getting stuck in the Review Quiz option

    Hello, When from the Quiz results slide, a user clicks the Review Quiz button, it lets the user click through the slides and review, but none of the buttons take the user back to the quiz results slide when they are done reveiwing the quiz. I've seen

  • Problem with status bar.

    The status bar all the time change to white in the home pages! and I can't see nothing! p.s my background is white too. What to do?

  • Screen Layout at Document Level: for Purchse order

    Dear Sap MM Experts! I have a requirement such that the purchase requisition when edited the TEXT feilds should be in display mode. The users should not be able to change the text in Purchase requisition. How do the same with screen layout for the pa

  • Submit data via regular button

    I'm looking for a script that will enable me to submit data While pressing on a regular button (not through the email button) What is the script ?