How can I make my user input on the same line as the question?

The only way I know of doing it is
System.out.println ("Please enter an uppercase letter of the English Alphabet: ");
          letter = dataIn.readLine ();But that makes Please enter an uppercase letter of the English Alphabet:
**User input here, a line down**So how can I make it all fit into one line with this sort of layout:
Please enter an uppercase letter of the English Alphabet:  **USER INPUTS HERE, SAME LINE**

change your call from println to print.
check the API docs for this stuff, it tells you everything you need to know.
Good Luck
Lee

Similar Messages

  • How can I make a intro page for my website, then after the intro has run make the page automatically change to my we site home screen

    how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen

    You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
    A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
    The meta refresh is added to the head section of the html file...
    <meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
    The delay time in seconds is marked in blue and the URL to the redirect page is in red.

  • Help - I have an apple id account, where is my iPod and iPad registered, but also the iPod of my daughter. How can I make an account for my daughter and keep all the apps she has on her iPod?

    Help - I have an apple id account, where is my iPod and iPad registered, but also the iPod of my daughter. How can I make an account for my daughter and keep all the apps she has on her iPod and in her own iTunes?

    Sorry, content bought with one Apple ID cannot be merged or transferred to another Apple ID.

  • How can I make albums from events then delete events without deleting the album?

    Hey, just need a little help!
    How can I make albums from events then delete events without deleting the album?
    Many thanks

    You'll be more likely to get help with this if you ask in the iPhoto forum:
    https://discussions.apple.com/community/ilife/iphoto
    You'll need to tell people what version of iPhoto you have so they can give you correct advice.
    Regards.

  • How can I make an external link (to a different folder) from the main menu?

    How can I make an external link (to a different folder) from the main menu?

    If the folder is outside the Muse page, you will have to insert manual HTML to define a more complex URL like e.g. ../_stuff for going one level up and then into a folder called "_stuff" The deeper you are in the hierarchy, the more ../ you will have to add to climb up.
    Mylenium

  • How can I make my apple ID valid for purchases other then the Canadian iTunes Store?

    How can I make my apple ID valid for purchases other then the Canadian iTunes Store? I wanted to download the "Wath abc family" app and it said it had to switch me to the american store because the app isnt available in Canada yet. Once it switched me I put in my apple ID and password and thats when it said that my apple ID is only valid in the canadian store and it switched me back. 
    1)
    2)
    3)

    To make purchases in the Mac App Store/iTunes Store for any particular country, you must be a legal resident of that country and supply a credit card issued by a bank in that country with a verifiable billing address in that country. Do you also make those qualifications in the US?
    But as a side note, as one who has that app, you can only watch both ABC and ABC Family shows if you have an account with a US cable or satelite TV company with which to sign into the app. Otherwise you don't qualify to watch shows with it.

  • How can I create additional "Sent Mail" folders so that I can organize my sent mail along the same lines as the inbox? I use Mail v 4.5

    How can I create additional or sub "Sent Mail" folders so that I can organize my sent mail along the same lines as the inbox? I use Mail v 4.5.

    Thank you for your reply Don, but I had already gone through that procedure and it will only create new mailboxes for received mail. I want to create new mailboxes for sent mail, i.e. the first column being "to" not "from". Under the Mailbox menus there is an option "Use This Mailbox For" but all the options under that (including Sent) are greyed out. Unfortunately the View/Columns option to change from "From" to "To" changes all mailboxes not just the active one.

  • How to know the label in the same line inside the JTextPane?

    how to know the Jlabel in the same line inside the JTextPane?

    My application have two pane, the left one have some JLabel, which contain a ImageIcon. The user can drap the JLabel from the left pane and drop the it to the right pane.
    Now if the user has dropped several JLabels, I would like to know whether it is placed in the same line.

  • How can i make a  flowing toolbar that stays in front of the main frame?

    I want to make a toolbar that has to stay in front of one of my JInternalFrame, this toolbar will have two buttons and they will change the states of some TextPanes in the JInternalFrame (font,styles, etc.). How can i do so?? how can i make it flow on the internalFrame? how can i make it interact with the internal frame's components? and how can i associate both of them ( their 'actionPerform') ??
    thank's

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • How can I find my user name password as I only remember the administrator password for the MacBook?

    How can I find my user name password as I only remember my administrator password?I don't want to lose things or content.

    If you have only one account, then your admin password is your user password. If you use another account that is not an admin account, then log into your admin account from which you can change the password on your user account.
    Forgot Your Account Password
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • HT1349 we both have the same Iphone, how can we make sure that we both have different account on the same network?

    my partner and i have the same models of Iphone. how can we make sure that when she logs on to our home network, it recognises her phone and doesn't down load to my phone?

    Did you try to rename one of them? iTunes: How to rename your device
    iTunes remembers the settings for each phone when you sync, even if both phones are called "My iPhone".
    So make sure to set it up like you want to, after that iTunes will do the rest.

  • How can I make a droplet save a modified file next to the original file?

    I am having a problem getting a Photoshop Droplet save a modified file next to the original file. That is, when I drag a file "page_6.pdf" from some directory onto my droplet, I want it to do its work and save a modified "page_6.psd" in that same directory.
    This isn't working for me on Photoshop CC 2014 on Mac OS 10.10.
    I have an Action which has an Open command, with the filename "page_1.pdf". Then it has a bunch of editing commands. Then it has a "Save As... Photoshop format" command, and a Close command. When I run this action within Photoshop, it brings up Open and Save As dialogues, and works fine.
    In creating the droplet, I used File... Automate... Create Droplet..., and selected the following options:
    Override Action "Open" commands
    Destination menu value = Folder
    Using Choose... button, select an output folder, Directory_1/ .
    Check Override Action "Save As Commands" is checked
    For File Naming, I use [Document Name] + "_deleteme" + [extension]
    When I drag a folder, say "page_5.pdf" from some directory onto the droplet, Photoshop runs the Action on the document. However, it saves the modified document in Directory_1/, regardless of where the original file came from. And it always names the modified document "page_1_deleteme.psd", instead of using the Document Name of the original file.
    If I modify the Open command in the Action to mention a different file, then the droplet always names the modified document with that name. It's as if Document Name in the File Naming dialogue always reflects what's in the Open command in the Action.  But -- I asked the droplet to Override Action "Open" commands!
    When I set the Destination menu value to "Save and Close", then when I drag a file onto the droplet, the droplet opens a File Save dialogue and forces me to tell it where to store the file.  I don't understand this behaviour, and have a hard time reconciling it with the documentation at Photoshop Help | Processing a batch of files .
    (Interestingly, when Destination menu value = None or Save and Close, Photoshop displays an alert about overwriting an existing droplet when I click OK to save. But when Destination menu value = Folder, there is no alert about overwriting existing droplet.)
    How can I set up a droplet so that it writes the modified file in the same directory as the original file, and with the same root filename, but a different extension to reflect the different output file format?
    Has anyone else made a droplet behave this way on Photoshop CC 2014 on Mac OS X 10.10?
    Thanks in advance for your help.

    Thanks for your insights.
    Does my Action need to include an Open command?  I sure thought so, because of how the Photoshop Help | Processing a batch of files documentation describes 'Override Action “Open” Commands'.
    "...If the action contains an Open command that opens a saved file and you don't select this option, the Batch command opens and processes only the file you used to record the Open command..." I don't want to operate only the file I used to record the Open command. However, this sentence doesn't say that an Open command should be part of a droplet Action.
    "...Deselect this option if the action was recorded to operate on an open file..."  Maybe I if I rethink my Action as operating on an open file, then the Droplet will take care of the Open for me.  However, I have less control over the options the droplet's Open command uses.
    I'll try disabling the Open command, and create a Droplet with that.

  • Some users don't appear at the login screen when restarting, only upon logging in as a user who does appear, then logging out. How can I make all users appear on the initial list?

    I've inherited a previously used early 2011 13-inch MacBook Pro at work.
    I now have my own account on the computer, however the account does not show up on the list of users to log in as in the start up log in screen. It will only appear if I first log in as one of the users who do appear, then logout. The background also changes between these two log in screens - the start up one is white whereas after logging out of one user it's the brushed steel background. My account has admin powers.
    Anyone have any ideas how I can make this account also show up on the start up screen?
    Thanks in advance for any help.

    I do think it has something to do with FileVault.
    Under System Preferences -> Security & Privacy -> FileVault I try and click "Enable users" near the bottom (after unlocking with an admin password). If I do this from my own account a green check mark appears next to my name, but upon clicking "done" I received this message after a brief loading period:
    The following users weren’t allowed to unlock this disk because an unknown error occurred: (myusername).
    I tried going into the root account and performing this same process, the first time System Prefences unexpectedly quit, and the second I received the same error as above after clicking the "Enable User..." button next to my account and trying to hit "Done".

  • How can I make my users password unchangable

    Hi Expert,
    i faced a problme currently. we have a training system which a lot of people have full authorization.
    my users password have been changed several times by someone else. so i do not know if i can make it unchangable? and do you know if i can make the system do not lock my user after failed login attempt.
    THANKS IN ADVANCE!
    Cliff

    > Thanks for your answer however some trainee have full access to the system due to the basis course needs..
    Have a look at grouping users and make sure the trainers are in a group that cannot be modified by the trainees. As a security consultant I tend to disbelieve anyone who claims to need 'full access'. What is this course about?  "How to administer a complete SAP system all alone? "
    Apart from that I always tell my trainees to behave or they'll fail the course/test/certification. I always assume I deal with adults when SAP is concerned.
    > for the second part why i can not change login/fails_to_user_lock in RZ11? I have "SAP_ALL"  authorization
    That could be because it is in the  default profile or instance profile. Have a look at RZ10 instead. (http://help.sap.com/saphelp_nw04/helpdata/EN/22/41c43ac23cef2fe10000000a114084/frameset.htm and http://help.sap.com/saphelp_nw04/helpdata/EN/c4/3a6247505211d189550000e829fbbd/frameset.htm)
    Jurjen (Heeck is my last name)
    Edited by: Jurjen Heeck on Sep 3, 2008 9:12 AM

  • How do you make a user input countdown to date timer in xcode???

    I am making an app that needs a countdown to date timer that the user inputs.  Does anyone know a good tutorial or could they make one?? THANK YOU ALL IN ADVANCE
    -Emet

    By the way...  I am on xcode 5

Maybe you are looking for

  • I-tunes won't open my files from my external hard drive....

    I am trying to upload my files from my old ext. HD to my new one. And I tried doing it a few times, and it wasn't compltely working. Some files weren't copying over, and some files were just getting duplciated, and I had like 10 copies of the same fi

  • Problem with listbox

    hi i am having problems with listbox values basically there are 2 listboxes, with values populated from 2 different resultsets. i need to move items from one listbox to the other and vice versa and then submit values for the items for the 2nd listbox

  • Help with nested if statements

    Can anyone see what is wrong with this?  The parameter value is 3.  I commented out 4-12 to narrow down the issue.  If I run it like this, I get 0.  However if I comment out 1 and 2 and just leave the logic for 3, I get the actual numbers.  Where is

  • How to maintain Payment Terms

    Daer Friends, I want to maintain new Payment Terms as below, In 3 Installments 30%,30% and 40% I tried with TC OBB8.Here text to appear in Explanation what I should do? In Explanation I want Payable in 3 partial amounts ( It will appear if I maintain

  • Getting IDOC after Purchase Order creation

    Hey, i need to get the XML-data from the IDOC which is created right after the creation of a purchase order with TR ME21N. I tried the following user exits: MM06E001- EXIT_SAPLEINM_002 MM06E001- EXIT_SAPLEINM_011 but it seems the program doesnt run i