BlueJ Terminal Window

Hi,
I am using bluej for my java assignment. I have made a controller which tests all the methods and accordingly displays the output in the terminal window.
I am however finding that only a limited amount of the output is shown in the terminal window. So basically the top section of the output is cut off. I have made no errors in my actual coding. It is something to do with the terminal window. Is there any way in which i can resolve this?
Thanks

So basically you're asking how to scroll the terminal window in BlueJ, or perhaps why it doesn't scroll?
That's a question about the product and not Java, right? So perhaps this wasn't the best place to ask it?

Similar Messages

  • BlueJ - Terminal Window problem

    I have a porgram similar to the World of Zuul game which is just text based adventure game.
    When I click on a newgame() , it opens up the terminal window (it should let me click on void play first) automatically, but I cant give it any commands - it wont let me type anything in the text area.
    But if I just start the game by myself afterwards it works fine.
    Any Ideas of getting rid of this bug of mine?

    So basically you're asking how to scroll the terminal window in BlueJ, or perhaps why it doesn't scroll?
    That's a question about the product and not Java, right? So perhaps this wasn't the best place to ask it?

  • Editing text in a terminal window #2

    I recently posted asking if it was possible to print a line of text into BlueJ's terminal window and then to let the user edit it. I got a reply that it is not possible to edit text once it is printed. However, with BufferedReader you can input text and then edit it before entering. Is it at least possible to have BufferedReader input text to begin with and then let the user edit it?
    For example:
    You can type in "Good Bye" and then backspace "Bye" and add "Morning" and get Good Morning. Instead, can "Good Bye" be automatically written and then you could edit it?

    hi there!!
    in a fast and direct way i dont think you can...
    but you might try using the Robot to send keystrokes, but that would be too troublesome me thinks...

  • Closing Terminal window tabs shrinks Terminal window height

    Open a Terminal window, press Command-T to create a tab, and then Ctrl-D to close that new tab, the Terminal window height decreases by one row.
    This most certainly appears to be a bug. How do I report this to Apple?

    I am also experiencing this problem, however if you use the Basic setting the problem doesn't exist.
    I am using Novel and I have the problem. It's quite annoying.
    I noticed that if you set the fontsize to 12 then this problem exhibits, however if I change the size to 11pt or 10pt (10 is the default for Basic, 12 is default for Novel) then I don't have the bug.
    Message was edited by: TonyKL

  • If I have a program that runs in windows under the command prompt and on Mac in the Terminal window, can it be run in iOS

    I have a program that is ran using the command line in windows and the terminal window on Mac or LInux.  Is it possible to create an app for the iPad that could run this program.  This program does require admin rights.

    No.

  • Keyboard shortcuts: adding service to open a Terminal window not being saved

    Hi
    Objective: A shortcut to open a terminal window with the path of the 'in-focus' Finder window (Mavericks).
    Solution (that doesn't work): Apple Menu/System Preferences/Keyboard
    Select: Shortcuts
    Select: Services
    Check box for: New Terminal At Folder
    Close System Preferences
    This approach seems to be advised on quite a few sites. When I do it, the service I add simply doesn't get saved. I go back into the System Preferences and look under the path above and see that the box for New Terminal Åt Folder is unchecked.
    Any help in being able to achieve my objective would be greatly appreciated :-)

    Those things are saved as part of the workspace. It sounds as if the current workspace file has become corrupt. Close ID, then go to your user profile and you'll find the workspaces folder under \Application Data\Adobe\InDesign\Version 6.0\<language>\Workspaces. Delete the "current" xml file for the workspace and restart ID. The workspace will be restored to the conditions set when it was saved, but hopefully will remember changes again when you close the program.

  • Code to close terminal window?

    I am running code in an IDE and want to be able to have any existing terminal window close before the code is run.  This way I don't have to keep closing them manually every time I run the code again.  I'm coding in C.  Any ideas?
    Thanks

    What about setting the
    Terminal -> Preferences -> Settings -> Shell -> When the shell exits: Close the window
    Now just make sure that the last thing your script does is exit from the shell and your window will be closed.
    Then again, do you "Really" need a Terminal session to run your code?
    That is to say, running programs and scripts can be done without needing a terminal session.  The Terminal session is just a window to the command line, and you do not need to display anything via the Terminal display, then there is no reason to have it open to run your program.
    You can use Applescript ("do shell script" statement), or Automator ("run shell script" action), or you can use a 3rd party utility such as Platypus that will put your program or script in a double clickable app that does not need a Terminal session.
    Another option is to use a different Terminal emulator, such as iTerm which also has the ability to close the window when the shell exits.  It can even automatically quit iterm when the last window is closed.

  • (SOLVED) Closing a terminal window

    When I am through using the terminal window, I hit the X at the top right corner but get this message: There is still a process running in this terminal. Closing the terminal will kill it.
    Why do I get this? I think I have nothing running. is there a bug?
    Last edited by mcduling (2011-12-19 22:23:54)

    It is complaining because you are still running su. That's a fair warning, not a bug.
    If you don't like it, use sudo instead. It's safer anyway than leaving a terminal sitting around in su-mode for arbitrary lengths of time.
    Edit: btw, if you have run su to gain root access, and you want to close the terminal, you can get out of su by typing "exit". Then you should be able to close the terminal.
    But really, don't use su. That's just asking for trouble. Sudo is your friend.
    Last edited by /dev/zero (2011-12-19 09:59:43)

  • 'Run' terminal window not closing

    I have an Java application which I have created an installation package for using InstallAnywhere.
    On Solaris when launching the application using the alias from a terminal window it works fine. But, when I launch the application from the File Manager, by double-clicking, it creates an 'extra' terminal window called 'Run', this terminal window doesn't terminate when I exit my application.
    How can I prevent this, can I prevent the 'Run' window from starting using some sort of setting, or can I somehow make sure it is closed togheter with the application?
    On Linux (SuSE10) the OS asks how I would like to run my application so I don't have the same problem there.

    Hi Kanwalpreet
    For basic idea please refer to the following link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">Dialog Boxes in WebDynpro</a>
    Go Through <b>page 16</b> of the PDF Document
    Regards
    Chaitanya.A

  • Terminal Window asking for password when opening

    I don't know what happens but everytime I open a terminal window its ask me for password. If I type my admin password it starts saying that can't found my ~ directory and starts in :/ instead of :~
    It is also showing ttys001 instead of 000 as usual.
    I don't know what it is, I think it have some relation with closing terminal windows without logging out of a ssh section, but I don't know how to resolve it. I tried reboot, "exit", delete com.apple.terminal
    Any sugestion?

    sgobin wrote:
    I don't know what happens but everytime I open a terminal window its ask me for password. If I type my admin password it starts saying that can't found my ~ directory and starts in :/ instead of :~
    It is also showing ttys001 instead of 000 as usual.
    I don't know what it is, I think it have some relation with closing terminal windows without logging out of a ssh section, but I don't know how to resolve it. I tried reboot, "exit", delete com.apple.terminal
    This is just a wild guess, but might there be a "sudo" command in a file in your home directory that's run when you launch a Terminal session, such as .bash_profile, .bash_login, or .profile? (This list assumes that you're using bash as your shell.)

  • Terminal window jumps on move

    If I have a terminal window open, am working in a different program, and I immediately move the terminal window, the terminal window will initially follow the pointer, and then it will jump back to the original position. It will then continue to move following the pointer, but will have a separation of anywhere between a fraction of an inch to several inches, depending on the speed of movement with my mouse.
    It is almost as though it jumps back.
    This will not happen if I change the focus back to terminal and then move the window.
    It happens even with multiple tabs.
    I can't find anything searching the web, so I decided to post.

    Hi game,
    I remember doing something like
    the stage.rect = the stage.rect
    prior to going to the new movie.
    HTH,
    Udo

  • Terminal window blinking cursor will not accept keyboard entry

    Have SunBlade100 w/ Solaris8.
    This is probably a dumb beginner question...
    When I enter certain commands at the terminal window - in this particular case
    # cat /dev/cua/a
    and I hit <return> the cursor skips to the next line, and
    continues blinking , and will not accept any keyboard entries.
    1. What is the significance of this? Is the cursor waiting further action, and if so, what?
    2. How do I get back to the prompt?
    3. Under this condition, is it safe to exit the terminal window by closing from the Window menu? (I can't type "exit" because the cursor won't accept keyboard entries, and Help for "closing the terminal" warns against closing from the Window menu because any background processes will not be terminated (and this may cause problems).
    Thanks in advance for any info on this.

    Thanks again for the info. <control>+C was exactly what I was looking for. It's coming back to me now-- the last time I had contact w/ UNIX was back in '85 at UC Berkeley (no GUI's back then!).
    I'm assuming that <control>+C is a graceful (i.e. relatively harmless way to exit the command.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Closing active terminal window with applescript

    I made a very basic script to lock my screen, and I like how it works. Some of my co-workers would also like it but it has one problem.
    When the script runs, a terminal box pops up at the end saying [process complete]. I can click through this and I don't care, they do.
    I can't just killall terminal because we use terminal and that could kill our work.
    We sometimes need to see output from a script and like the process complete, so don't want to reconfigure our systems to never display it.
    I'm trying to find a way to use applescript or something to kill the active terminal window, or the window with the title of LockScreen or something.
    Anyone have an idea?
    I was hoping something like this would exist but it doesn't seem to: tell application "Terminal" to close window

    Here is an easy approach.  Start Applications -> Automator
    Select Application
    In Automator search for "Start Screen Saver".  This should be under Library->Utilities
    Drag "Start Screen Saver" to the right side panel.
    Save the Automator app.
    If the user has System Preferencs -> Security -> Require Password ... set, then one the screen saver has started running, it will require the user to enter their password before getting control back.
    This Automator app can be double clicked, it will not require the terminal.
    With respect to your script.  If this is a shell script, AND if you wish to continue using it, then you could create an Automator app that uses "Run Shell Script" under Automator Library->Utilities.  This will also NOT require the use of Terminal, however, be aware that when Automator runs a shell script it DOES NOT have the same environment as when you are running a shell script at your Terminal prompt.  There are very few environment variables set, and for example the USER, HOME, current working directory, PATH, etc... may not be the same.  If you have dependencies on specific environment information, you may want to write a simple automator script the using "Run Shell Script" to output various environment information into a file so you can see what you have to work with
    (id -a
    pwd
    echo "$#"
    echo "$@"
    printenv
    ) >/tmp/automator.environment.txt

  • How to open a terminal window in a path currently visible in the Finder?

    I often need to open a terminal window with the current visible folder (a long, deep path) as the working directory.
    In Windows I used to have the little "Open command window here..." hack available in the context menu in Explorer.
    How can I achieve the same on OS X to avoid tediously typing the path?

    open a finder window and navigate to one-level above
    this visible folder.
    open a terminal window.
    drag the folder of interest from the finder window
    into the terminal window. now you see the whole path
    to that folder has been typed out for you....
    so, if you wanted to 'cd' into that folder in
    terminal, you'd type cd, then a space, into the
    terminal window, then drag that folder in there from
    the finder, then hit return.... viola!
    If the folder you want is already open, you can drag the icon at the top of the Finder window. You don't have to go one level up.

  • Cant install software from disk. Terminal window opens with a logon and bash message?

    I cannot install software from disk & in some cases download.
    If any software disk is inserted the terminal window appears.
    The Disk has to be clicked to open the contents but install files or package files show as a blank doc and not the usual yellow package icon.
    All that shows is a log on message in the terminal window, but nothing about install.
    I thought Drive issues but the drive plays audio and DVD perfect
    I cannot install:-
    Office for mac updates
    Live Interior 3D (managed to install from download)
    ION Audio Converter
    This has only come to my attention in the last couple of weeks.
    The machine is a late 2011 with Lion installed

    Contact Apple Service, iMac Service or Apple's Express Lane. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you're eligible for onsite repair since yours is a desktop machine.

Maybe you are looking for

  • Why is my computer telling me to turn ON my HP officejet 8500 all in one? It's ON!

    My HP officejet 8500 all in one printer is powered on. The fax and copier are working but when I try to print my computer (windows 7 pro 32bit) tells me to power on my printer. I had trouble with my DSL internet server yesterday and installed a new m

  • Stupid question #21 or #22

    There are certain "processes" that are triggered in System 10.4.7 (soon to be 10.4.8), such as fan starting when certain conditions are met, ie: high temperature. Are these same processes triggered when the computer is running Windows under Parallels

  • Audio Video Hardware and QuickTime Pro

    I recently purchased an "Eyeball" camera/mic device from Blue. I was told it is excellent. Now I need to know if QuickTime Pro will complete the circuit - so to speak. The physical connection is from the unit to an USB port. What drivers (yes, it's W

  • How to attach Documents when replying to an Email.

    I have found ways to add attachments such as Word Docs when I create new Emails (third party app), but can't seem to find a way to add an attachment when I am replying to an email sent to me.  Is there a way to do this in the native app or does someo

  • Can`t loaded music in slide show on PSE9

    The procedure : 1 Click to add audio 2 open "look in" Audio CD(F), 3 open file name and I type "Track05.cda" now comming note: unable to add the audio file.The select file can`t be played because your system does not have the required COMPRESSOR/DECO