Enter Key is not being accepted properly in the Applet

We have developed a Telnet application which is in form of an Applet. We are facing some problems with respect to that.
We are using Java 1.2.
When login sessions are launched, the login prompt is displayed.
After we enter the user id and press the "Enter" Key, the UI remains at the "user id" prompt and is not accepting the "Enter" Key.
As a result, we are not getting the password prompt and hence NE UI is not deing displayed.
This was verified with logs and found that the "Enter" key was interpreted as "char 7" instead of Ascii char 10(Enter Key).
This problem was observed in both IE and Netscape.
But this same code works fine when it is run as a Java application. Also the same applet works fine when viewed from the Applet Viewer.
Iam of the view that the issue may be due to the restrictions imposed by the browsers on the Java Applet.
Please give me suggestions to circumvent this problem ,if u have faced the same.
Thanks in advance,
Darshan

The reason why ENTER doesn't work is because it's reserved for the default button. The SPACEBAR does what you want.
http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/doc-files/Key-Metal.html#JButton
To change the key mappings, read up on JComponent.getActionMap(), JComponent.setActionMap() and the ActionMap class.

Similar Messages

  • HTML file is not being shown properly in the JEditorPane

    Hi,
    I am using JEditorPane to display an HTML file from the local disk. This HTML file contains the html tables. Now when this file is getting displayed in the JEditorPane, one top row grid is not being displayed in the editor pane. content of the row is there...but the column grid is missing. All other rows and columns are being shown but the first row-column grid which contains the heading for column.
    Also when I m printing the content of this JEditorPane using Java Print API then no grid is being printed on the paper. content is coming properly but no table grids. when i have taken the print out of the original html file from the browser then table grids are being printed out properly.
    Please do help me out in showing the HTML file in the JEditorPane properly and printing the same.
    Many Thanks,
    gshankar

    Hi,
    JEditorPane renders HTML with many limitations.
    You can use JDIC for the same. refer: jdic.dev.java.net
    But JDIC does not work on windows 98.
    Anand

  • OHS - Protocol (Periodic) Next due dates are not being captured properly

    Protocol (Periodic) Next due dates are not being captured properly in the Planning Cockpit (EHSH_D_PCP) report nor the Protocol report (S_SH8_7200013).  The Planned date is not resetting itself for the medical service sometimes.
    Any idea what might be causing this issue?
    Regards
    Naveen

    HI Naveen
    Have you overridden the std BADI for calculating Next due date?
    Thanks
    Jagdsh

  • My Apple ID is not being accepted on my Mac

    My Apple ID is not being accepted on my Mac but is okay on both my other Apple devices.

    Well, what exactly happens and where are you entering it?

  • The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    Hello gokulaan, '''try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Is there a way to reset my 4 digit pin? my old one is not being accepted.

    Is there a way to reset my 4 digit pin? my old one is not being accepted.

    The only way to remove a passcode is to restore the device.
    Read:
    Forgot Passcode or Unable to Restore
    (Note that I am a representative of the organization of the above link, which is not endorsed by Apple).

  • I need help with my serial number.  I downloaded soundbooth cs3 to restore my downloaded puchase, but my serial number is not being accepted.  I have 16 more days to resolve this.

    I need help with my serial number.  I downloaded soundbooth cs3 to restore my downloaded purchase, but my serial number is not being accepted.  I have 16 more days to resolve this.  I don't need tech support, I just need the software I purchased to work for me.  That's not to much to ask, is it?  Can anyone from adobe help me please?
    Chris

    Error "The serial number is not valid for this product" | Creative Suite

  • Trying to install LR4 on a second computer but my serial number is not being accepted.

    Trying to install LR4 on a second computer but my serial number is not being accepted. What to do?

    there's nothing online about which i know.  but you may be able to get that info from adobe support, http://helpx.adobe.com/x-productkb/global/service1.html

  • [svn] 1978: Bug: vendors. properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly .

    Revision: 1978
    Author: [email protected]
    Date: 2008-06-06 08:05:34 -0700 (Fri, 06 Jun 2008)
    Log Message:
    Bug: vendors.properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly.
    QA: Yes - we need automated tests to make sure that errors.properties and vendors.properties in BlazeDS/LCDS are loaded properly.
    Doc: No
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/PropertyStringResource Loader.java
    blazeds/branches/3.0.x/modules/opt/src/jrun/flex/messaging/security/JRunLoginCommand.java
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

  • I m using macbook pro my enter key is not working suddenly how can i solve this problem?

    i m using macbook pro my enter key is not working suddenly how can i solve this problem?

    I have tried to delete but Com.Apple.keyboardtype.plist is missing therefore I cannot reset the keyboard
    /Library/Preferences/com.apple.keyboardtype.plist

  • Anti spam codes for website forms are not being accepted on my imac or iPad

    anti spam codes for website forms are not being accepted on my imac or iPad

    In Safari go to preferences click on privacy and on Block Cookies tick the never box

  • I have purchased a new mac book pro and I'm trying to install CS6 from old mac. I have installed cs6 upgrade but, software is asking for cs4 number which is not being accepted.

    I have purchased a new mac book pro and I'm trying to install CS6 from old mac. I have installed cs6 upgrade but, software is asking for cs4 number which is not being accepted.

    I should add that it's an HP photosmart 4280.I found it online and it shows the Mac 0SX operating system.

  • Essbase Error 1013206 - SetActive Commands are Currently Not Being Accepted

    Hi All,
    I am facing the below error very frequently which is causing the disabling the "Enable connects"on the respective application. It is not happening for all the scheduled processes, just BETWEEN the last cube build or first cube build of the day.
    In Essbase.log server logs observered as below:
    [Fri Sep  9 15:51:51 2011]SERVER NAME/ESSBASE0///Error(1051544)
    message on contacting or from application:
    [Fri Sep  9 15:51:51 2011]SERVER NAME////Error(1013206)
    SetActive Commands are Currently Not Being Accepted
    [Fri Sep  9 15:51:51 2011]SERVER NAME/ESSBASE0///Warning(1051003)
    Error 1013206 processing request [MaxL: Execute] - disconnecting
    Please suggest as It is happening repetedly andcausing the Down time.

    Is it possible that you've issued the command: alter application disable connects ;
    That would cause MaxL to send back that message.
    Per the docs:
    Prevent any user with a permission lower than Application Managers from making connections to the databases that require the databases to be started. This includes starting the databases or performing the ESSCMD SELECT command on the databases. Database connections remain disabled for all databases in the application, until the application setting is re-enabled by the administrator.Link: http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_altapp.html
    Is it possible that you issue that command and then try to do things with a username that doesn't have App Manager or higher rights?
    Regards,
    Cameron Lackpour

  • Client Commands are Currently Not Being Accepted

    Hi,
    I made a outline restructure on my essbase but my laptop suddenly shut down. When I tried to turn the application on again and tried to add members on Essbase, I got the error message, "Client commands are currently not being accepted"
    I can't make any changes and I also have tried to end archive using MAXL but also get the same error message.
    Anyone has the solution please let me know since this is on production machine. Thanks.

    Since you were in the middle of an outline restructure, I'm guessing it is hung. You can double check that by looking in the database directory to see if there is a file dbname.otn and/or .pan or .inn or .esn files. If they are there, then stop the application. Yoy may need to go to task manager in windows or PS in Unix and kill the esssvr session associated with the session. Then try to restart the app. If it starts fine, if not, look at the files mentioned above and move them to a temp directory and try again. If it still does not work, then the third option would be to move the files above out and move bak in the files ending in "N" renaming them to the proper name..ind, pag, .otl, .esm and try again.
    Typically, depending on version you only need to kill the app process and restart

  • Client Commands are Currently Not Being Accepted  due to restructuring

    Hello,
    We are running Essbase and Planning 9.3.1. Occasionally, the users get the above error, "Client Commands are Currently Not Being Accepted", because Essbase spontaneously starts restructuring itself. We schedule a restructure in the evening. Is there a way to prevent this spontaneous restructuring from occurring during business hours?
    Thank you,

    Thank you Glenn,
    The users say they did not change the outline or refresh the database. The log file says sysadmin gave the command, as I have copied here.
    Received Command [Restructure] from user [sysadmin]
    If the users did something, I would expect the command to come from them.
    The essbase.cfg does not have the work sync or security in it. Can you tell me more on how to determine if this is our problem?

Maybe you are looking for

  • How do I undo the IO6 update cannot access most of You Tube videos

    I am very dissatisfied with your decision to remove google maps and you tube, I can't access so many things, you know very well that google maps is best on the web like Tom Tom is for GPS devises, I am unable to access 3/4 of videos on You Tube becau

  • Problem with Multimapping with out using BPM

    Hi All, Here i have face a problem when working with multi mapping. For example I explain u with the following example. <Message1>   <Employee>       <Eno>       <Ename> </Employee> </Message1> <Message2>   <City>        <Address>        <Dno>   </Ci

  • I cannot access the Virtual Computer XP Mode in Windows 7

    I cannot access the Virtual Computer XP Mode in Windows 7 and I have very important information that I cannot access.  Can you help me?

  • Lazy instantiation problem

    I would like to instantiate collections only when they are needed. It works fine for non transactional instances but fails when my instance is transactional with following error: To perform writes on persistent data outside of a transaction, the "non

  • String Aggregation - ORA-01489

    Hi, I am getting ORA-01489 for the following query. Basically, I am performing string aggregation: SELECT LTRIM(REPLACE(sys_connect_by_path(expression, '::'), '::', ','),',') INTO clob_variable FROM (SELECT * FROM tb_metadata_detail WHERE performance