Input without screen echo

Hi all,
May I ask how to do the input without screen echo in Java? I can't think of a way to eliminate this echo even after redirecting the standard output before reading.
Thanks in advance

That means I should use the key listener for this
purpose ?
I would like to do some password entering job like in
UNIX, not to show whatever the user typed in.
Therefore, should I use this kind of thing to handle
this problem?Not necessarily a key listener. There's the standard javax.swing.JPasswordField class for usage on a GUI form, for this very purpose.

Similar Messages

  • How to add one value into Input Entry Screen of Element

    Hi ,
    How to change the "Input Value" of Element which has already been processed and assigned. Its not allowing to update even though its been date tracked.
    I want to add one more Value into Input Value screen.
    Thanks
    Ram

    You cannot remove existing input values or add new one if you have created any entries for the element
    to know more details to maintain an element you can refer the following link
    http://ramesh-oraclehrms.blogspot.com/2007/08/maintaining-element.html
    Regards
    Ramesh Kumar S

  • Restrict all the text in a datagrid input without having to create custom item renderers

    Is there a way to restrict all the text in a datagrid input
    without having to create custom item renderers for each
    column?

    How are you trying to restrict it? If you're trying to
    restrict it uniformly, for example, to entirely numerical inputs,
    then the easiest way I know of to do so is with an itemEditor. You
    can just add the same itemEditor to each column that way.
    This only saves work over custom renderers if you're trying
    to restrict multiple columns in the same manner, but for numeric
    only tables, it's pretty short.
    You could probably also do it with itemEdit and
    itemEditBeginning events, but that would likely be more work then
    simply declaring a single global itemEditor and using it in all
    your columns.

  • Mapping a field from input help screen(Using POV) to user screen

    I have used the Function module 'DYNP_VALUES_UPDATE', to get the value from Description field in the search help.Now its throwing a runtime error mentioned below.
    Runtime errors: CALL_FUNCTION_CONFLICT_LENG
    Except. CX_SY_DYN_CALL_ILLEGAL_TYPE.
    Short text: Type conflict when calling a function module
    the function module was called incorrectly.
    Below is the code i implemented.
    ws_dynpfields-fieldname = wc_scrfld.
    ws_dynpfields-stepl = tc_1017-current_line.
    ws_dynpfields-fieldvalue = ws_hssr-text.
    APPEND ws_dynpfields TO wt_dynpfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = 'sapmzapp01'
    dynumb = '1008'
    TABLES
    dynpfields = wt_dynpfields
    EXCEPTIONS
    invalid_abapworkarea = 1
    invalid_dynprofield = 2
    invalid_dynproname = 3
    invalid_dynpronummer = 4
    invalid_request = 5
    no_fielddescription = 6
    undefind_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE e800(zmdb_mda_supplier).
    ENDIF.
    The above code is in screen USER COMMAND OF 1017(POV-input help screen).
    wt_dynpfields is the internal table.
    and its fields are fieldname,stepl and fieldvalue
    ws_dynpfields is the workarea of the internal table.
    wc_scrfld-Constant with value zbut0000qnnyxa-ztfldg6h7np'(the description field name of the screen 1008 where i want the description value to get in automatically after selecting from input help)
    ws_hssr-text= The Work area containing the value 'eg ORDER'.
    kindly get back immediately....

    Hi,
    This function works only after POV.
    So ensure that it is written in that module:
    like AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_name.
    Hope it will guide you.
    Jogdand M B

  • Hiding variable values in the input selection screen.

    Hello Experts,
    We have an authorisation relevant characteristic on which we have built a variable. We have restricted few values for this characteristic through the analysis authorisation.
    The business requirement is that these values which are maintained in the analysis authorisation should not be populated in the input selection screen for that particular variable. In other words we have to hide these values but the variable should a part of input selection screen.
    Can anyone please guide on how can we hide these variable values inspite of maintaining them in our analysis authorisations.
    Thanks..
    Best Regds,
    Suyog...

    Hi Suyog,
    Have you got any solution on this issue.  I have same kind of issue in BI7.  When running the RSRT transaction manager has to give some comments for a document option.  but the subordinates should not modify or see the comments.  Is there any way to restrict this access to certain users.  Our requirement is to either disable the document option or should not appear in the list.
    please give your inputs to find a way to solution.
    Thanks in advance.
    Regards,,
    Appala Raju

  • Input variables screen always visible

    Hi....i have a WAD and i want to know if theres a way to have the input variables screen always visible ....for example i want tha t the variables input fields always on top of the WAD, and the user can write new values and click on execute button (or something like that) and execute the WAD.......
    Another option would be using input fields in WAD but i dont know if its possible to pass the web item input fields values as filter for WAD queries....
    Regards

    Hi Oscar,
    Just add this piece of code within the <body>....</body?  to your template backend
    <!-- Display Variable Screen --->
              <TD class=SAPBEXNavLine><A href="<SAP_BW_URL CMD='PROCESS_VARIABLES' VARIABLE_SCREEN='X'>"><IMG
                alt="<SAP_BW_TEXT program="SAPLRRSV" key="T76">" src="Mime/BEx/Icons/S_B_VARB.gif"
                border=0  valign="middle"></A></TD>
              <TD class=SAPBEXNavLine> |</TD>
    Just check if src="Mime/BEx/Icons/S_B_VARB.gif" is present in your repository. This if for the icon.
    Hope this helps...!!

  • Print immediately without screen dialog

    Hello,
    I want to print a smartforms immediately without screen dialog.
    The spool is created but not sent to the printer.
    I call function module with following parameters :
    ws_control-device = 'PRINTER'.
    ws_control-no_dialog = 'X'.
    ws_control-langu = 'F'.
    ws_options-tdnoprev = 'X'.
    ws_options-tdcovtitle = 'Releve'.
    ws_options-tddest = 'LOCL'.
    ws_options-tdnewid = 'X'.
    ws_options-tdimmed = 'X'.
    ws_options-tdcover = 'D'.
    ws_options-tdcopies = '001'.
    CALL FUNCTION lf_fm_name
                 EXPORTING
                          control_parameters   = ws_control
                          output_options       = ws_options
                          user_settings        = 'X'
                  TABLES    tbl_em = wt_em
                 EXCEPTIONS formatting_error     = 1
                            internal_error       = 2
                            send_error           = 3
                            user_canceled        = 4
                            OTHERS               = 5.
    Thanks for your help.

    hi sebastian,
    first of all u check for user settings.....in TABLE USR01
    Selecting user master records from USR01 table
      SELECT SINGLE * FROM usr01
         INTO ls_usr01
        WHERE bname = sy-uname.
      ls_outputoptions-tddest = ls_usr01-spld.
      IF ls_usr01-spdb  = 'H'.
          ls_outputoptions-tdimmed = ' '.                "Print immediatetly
      ELSE.
          ls_outputoptions-tdimmed = 'X'.
      ENDIF.
    and in control parameters use
    ls_outputoptions-no_dialog = 'X'.
    this will help u out..
    please reward in case usefull...
    regards,
    prashant

  • No batch input data screen SAPLSDH4 0200

    Hi,
    While doing Check deposit transaction, i got the below error
    " No batch input data screen SAPLSDH4 0200". When i press enter, it is going to FS01 screen and showing the customer number as * =D.xxxx (customer number)*  and a dialogue box is appeared, in that search item and customer number is displayed. When i press enter, it is not accepting. When i clear it and press enter, it is showing all customers. I have selected the customer which i gave at the time of customizing and press enter. Then it is showing the "OK code" again selected ok.. Then the batch process competed. But when i go to SM35, i cant able to see the session again.
    I dont understand why this problem is coming. But the posting were done properly. Can anyone explain me what exactly the problem with this transaction.
    Regards
    Sabera

    Hi,
    These error normally comes if the screen control branches out to different view or a screen.If a session is created for error logs, process the session in foreground mode and see at which point the OK CODE branches out to this particular screen. you also need to debug the particular record which is failing to see if its a data related issue or any particular field value is being wrongly processed. If your program is not creating any session for error logs i request you to generate a session for error logs or else if you are using call transaction ,run it in MODE 'A' to check whats happening.It's quite common to come accross such issues while developing a BDC.

  • HT201365 Since uploading 7.0 I cant play any game for more than 5 sec.without screen flipping to Apps. page. Anyone else have this problem??

    Since uploading to 7.0.2 cant play any game for more than 5 sec. without screen flipping to Apps. page. What to do??

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • I removed my iphone screen guard ..if i use it without screen guard is there any possibility in  formation of scratches

    i removed my iphone screen guard ..if i use it without screen guard is there any possibility in formation of scratches

    Only if you carry loose diamonds in your pocket. The glass on the iPhone is Corning Gorilla Glass, and is very hard. It's not a good idea to carry an iPhone (or any other phone, for that matter) loose in your pocket without a case that covers the screen, earpiece, dock conntector, headphone jack speaker and mic. There's too much in most people's pockets that can damage these parts, or get into them. Pocket lint in the Lightning connector or headphone jack can cause all kinds of mischief, and the mic, speaker and earpiece are completely exposed.
    The screen natively has a coating on it that repels oils, making it very easy to remove fingerprints with a tissue or cloth. Putting a screen protector on the phone defeats this feature.

  • Is it possible for a mac to recognise a camcorder as a video input without using imovie/final cut?

    Is it possible for a mac to recognise a camcorder as a video input without using imovie/final cut, I use web based video capture software and need an HD input that the mac would recognise as if it were a webcam?
    Any help would be greatly appreciated!
    Thanks

    HI,
    I used to use an analogue Camcorder and a DV converter that had Firewire output at one stage when starting out in iChat.
    See the Item 3  in the "Before your Start" item on this page
    8:41 PM      Saturday; November 12, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously
    Message was edited by: Ralph Johns (UK)

  • Batch Input Overview Screen

    Hi All,
               Some of my Mlis mirrors posting files uploaded are not found in the Batch input Overview screen . For example, files named KJCFS3101, KJCDM2701, and all named KJCDM****  .How can I retrieve them.
    Brgds
    Asha Banu A

    Hi Chakra,
    Please explain your requirement further.
    1. A program creates SM35 sessions. A periodic job is defined for that.
    2. Another program or a person processes those sessions.
    3. A third one should be scheduled to run right after that.
    If my assumption is true, I have some questions about it. How are the sessions processed? Are they manually processed or are they scheduled in batch processing?
    I have a couple of scenarios in mind.
    <u>Scenario 1.</u>
    1. One program creates the sessions and also processes them by using RSBDCSUB program. This program will be scheduled as step 1 of the job.
    2. Program 2 will be scheduled as step 2 of the job.
    <u>Scenario 2.</u>
    1. One program creates the sessions. This will be step 1 of the job.
    2. RSBDCSUB will be scheduled as step 2.
    3. Program 2 will be scheduled as step 3.
    <u>Scenario 3.</u>
    1. One program takes of creating the sessions, then submitting the RSBDCSUB to process and then submits the program2. You can then schedule one job for this one program.
    If you can give more details of your requirement may be I can help.
    Regards,
    Srinivas

  • 3120 copying contacts without screen

    I have an old nokia 3120 (the silver one).  The phone is still working but the screen is not.  I have to replace it but I have all of my contacts on the phone and need to transfer them to the sim so that I can get them into my new phone.  I am wondering if anyone can tell me exactly the exact sequence of keystrokes I need to make to do this as I cannot see anything on the screen.  I have tried to do it using the manual but it is not specific enough.  My starting point is the screen immediately after I have entered my pin (standby).  Can anyone help?

    schoooner wrote:
    Will this work from Apple to PC?
    Not sure about that. You may potentially have some Mac filenames that violate PC rules.
    schoooner wrote:
    Anyway to do the same, without removing the hardrive?
    and without a monitor? I am stumped by that one.
    If you have the optional AV card with RCA/S-video plugs on the back of the unit you might be able to connect to the AUX input on a VCR/TV and use that as a monitor. I also am not sure about file sharing and networking under Mac OS 8 to/from a PC. I haven't used OS 8 in a long time.
    Do you have any USB or FW PCI card upgrades installed in the G3, or is it pretty much factory original equipment only?

  • Need help to disable input selection-screen - very urgent

    Hi SAP experts,
    I have a requirement where in I need to disable ( Grey out ) the input fileds on the selection screen .
    My problem is as I am using ABAP query I am not able to use any events ( AT SELECTION-SCREEN OUTPUT ).
    My selection screen looks like this
    MATERIAL NUMBER ( SELECT-OPTIONS)
    MATERIAL TYPE ( PARAMETERS )
    Now I want to add one more check box below the above fields on the selection-screen.When I click on the check-box,the MATERIAL NUMBER  must be greyed out and MATERIAL TYPE should remain the same.
    Please let me know the coding for the same. All answers would be rewarded.
    Thanks in Advance,
    Suresh.

    Hi,
    Check out these codes.
    1.
    TABLES : mara, makt.
    parameter: p_matnr type mara-matnr,
               p_maktx type makt-maktx.
    at selection-screen output.
    select single maktx
    from makt
    into p_maktx
    where matnr = p_matnr
    and spras = 'EN'.
    loop at screen.
      if screen-name = 'P_MAKTX'.
        screen-input = 0.
        modify screen.
      endif.
    endloop.
    2.
    TABLES : mara, makt.
    TYPES:BEGIN OF tp_maktx,
          maktx TYPE makt-maktx,
          END OF tp_maktx.
    DATA:t_maktx TYPE STANDARD TABLE OF tp_maktx,
         wa_maktx TYPE tp_maktx.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECT-OPTIONS: s_maktx FOR makt-maktx.
    INITIALIZATION.
      REFRESH s_maktx[].
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'S_MAKTX-LOW' or screen-name = 'S_MAKTX-HIGH'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
      REFRESH s_maktx[].
      if s_matnr[] is not initial.
      SELECT maktx FROM makt
      INTO TABLE t_maktx
      WHERE matnr IN s_matnr
      AND spras = 'EN'.
      endif.
      LOOP AT t_maktx INTO wa_maktx.
        s_maktx-low = wa_maktx-maktx.
        APPEND s_maktx.
        CLEAR:wa_maktx.
      ENDLOOP.
    3.
    TABLES : mara, makt.
    parameter p_cb1 type c as checkbox.
    parameter p_cb2 type c as checkbox.
    parameter p_cb3 type c as checkbox.
    initialization.
    loop at screen.
    if screen-name = 'P_CB3'.
    screen-invisible = 1.
    modify screen.
    endif.
    endloop.
    at selection-screen output.
    *loop at screen.
    *if screen-name = 'P_CB3'.
    *screen-invisible = 1.
    *modify screen.
    *endif.
    *endloop.
    loop at screen.
    if p_cb1 = 'X'.
      if screen-name = 'P_CB2'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB3'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    if p_cb2 = 'X'.
      if screen-name = 'P_CB3'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB1'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    if p_cb3 = 'X'.
      if screen-name = 'P_CB1'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB2'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    endloop.
    Reward if helpful..
    Regards.

  • Text Input: How To Perform Procedure on Console Input Without Variables

    Problem Defined:
    Need to analyze text input on console to ensure it meets conditional statements before assigning to a variable.
    I can't find a method to take scanner input from the console without first assigning it to a variable. I don't want to assign it to a variable unless it meets a certain condition.
    This is for a class assignment and I must use the console for input--no dialog boxes.
    This is what I want to do:
    Read Input; Hold In Memory; Test if Null; Test if Length is 14 Digits; Assign to Acct if All Conditions Are Met
    If Null, tell the user he needs to actually enter input or q to quit. Exit after five failures.
    If input is not equal to 14 digits, inform user. Offer escape with q. Exit after five failures.
    I only know how to assign a value to a variable from the various methods that take input. How do I take input and store it in memory to analyze without assigning it to a variable?
    I have this and the code is probably not correct. I'm a rank newbie. I've written several programs, but they're all basic, mostly using only the methods I learned in class and what I pulled out of books. My prof doesn't even intend on going over if, for and while! She's happy with us just copying verbatim and editing one or two lines so the source isn't exactly what she wrote on the board. I'm trying to learn how to do things that I know are useful, like making sure input is in the proper format, asking questions like what did people use before scanner just gets me blank responses with a quizzical look, but no answer.
    new Scanner = console scanner (system.in);
    String Acct
    Acct = console.next();
    if Acct == null . You entered nothing. Try again or press q to exit.");
    return to Line 1 //No idea how to do this.
    if Acct == 'q'
    Close Program
    if length.Acct = 14 ( Acct = Acct )
    else System.out.print("Your account number is 14 digits. You didn't enter 14 digits. Try again. Or press q to quit.")
    goto Acct = console.next
    Also, if you need to read an address from the console entered on one line, what methods can you use to pull one word at a time and then position them onto multiple lines?
    Enter Address: 123 Main Street Apt 321 Port View, FL 32547
    123 Main Street
    Apartment 121
    Port View FL
    32547
    Any help putting this together would be greatly appreciated. Thanks in advance.
    Alec

    805228 wrote:
    How do I take input and store it in memory to analyze without assigning it to a variable?Where do you think variables are stored? In memory. So no, you're not gonna be able to do anything to the value before you assign it to a variable. Then you can do any checks you need and
    possibly assign it to another variable (or more likely, ask the user for valid input if the checks don't pass).
    You can use loops and other constructs to keep asking for user input until valid values are provided.
    if Acct == null . You entered nothing. Try again or press q to exit.");
    return to Line 1 //No idea how to do this.Read up on while loops.
    Also, if you need to read an address from the console entered on one line, what methods can you use to pull one word at a time and then position them onto multiple lines?
    Enter Address: 123 Main Street Apt 321 Port View, FL 32547
    123 Main Street
    Apartment 121
    Port View FL
    32547Well that depends. How do you know that the street is "123 Main Street" and not "123 Main Street Apartment" or "123 Main Street Apartment 121".
    You can get the whole String from the user and then split the String into smaller Strings _if_ you can answer the question on the previous line.

Maybe you are looking for

  • PO price, tax & condition records at the time of GR

    Hi All, I am creating a report for FI sanvat. I need in this report material doc no. rates, tax with condition records during GR & MIRO. If I pick this data direct form KONP & KONV based on PO it may be wrong  because after GR PO price &  condition r

  • Vista Ultimate 64 bit Upgrade on Macbook?

    Gents, I'm working on trying to install Vista 64 bit Ultimate on my Macbook in place of XP Home. (Yeah, Home only sees 1 core, and is a 32 bit OS with only 3 GBs of my RAM showing.) Anyway, how do I go about installing Vista 64 bit ultimate on here?

  • Assistance with a query of the HRMS tables

    I need some assistance with a query I am trying to run. Here are the two tables I am trying to join: PER_ALL_POSITIONS PER_ALL_PEOPLE_F What I am trying to accomplish is to obtain the First_Name, Last Name from PERALL_PEOPLE_F table and then join tha

  • Recovery Mode-Please give me more information about Mac OSX 10.8 Recovery mode.Thanks

    By holding alt key recovery mode appear on the gray screen but i just want to know what kind of recovery is it? Am i going to loose my data after recovering?If not am i going to have fresh OS like factory settings again?Do i need to take a back up fr

  • CS4 and CS6 on the same pc?

    I cannot get cs4 and cs6 to work together on the same PC.  Can they work together?