IOS multiline textfield - enter key

I'm having a weird bug on iOS
I create 2 dynamic text fields, 1 multiline, 1 singleline. I run this on my ipad, I give the textfields focus by clicking on them to pull up the softkeyboard.
The multiline textfield will have an enter button that say "Return"
The singleline textfield will have an enter button that says "Done"
add a listener for keyup
stage.addEventListener(KeyboardEvent.KEY_UP, this._onKeyUp);
private function _onKeyUp($event:KeyboardEvent):void{
            switch($event.keyCode){
                case Keyboard.ENTER:
                trace("HELLO?");
          break;
The trace will only work when you press "Done", it never fires for "Return"

Hi,
Yes it's always allowed, however the problem comes when you then try to output it using an outputText, it won't show the line feed as \n is ignored in HTML. You have to use Trinidad's outputDocument component for that.
Regards,
~ Simon

Similar Messages

  • Enter key in jato:textField crashes ViewBean

    I have a jato:textField in a very simple JSP/ViewBean which was migrated
    from NetDynamics with the iMT tool and then hand-modified to work under the
    JATO framework.
    If I click Enter in the textField, the page crashes with ServletException
    "The request was not handled by the specified handler". It doesn't give a
    line number. Using an IDE debugger (JBuilder) I see that a forwardTo()
    method has been invoked.
    Other pages don't react to the enter key like this. They beep the
    client. Exactly what I want. Where do I look for trouble?
    Ned Kellogg
    Harvard University Development Office
    124 Mt Auburn Street, 4th Floor
    Cambridge, MA 02138
    617-495-4164
    [Non-text portions of this message have been removed]

    Did you try searching the forum first before posting your questions?
    The following keywords, taken directly from your question would be a good place to start: "disable enter jtextarea".

  • Enter key on multiLine InputText

    Is the Enter Key allowed to use to go to the next line to multiLine inputText?

    Hi,
    Yes it's always allowed, however the problem comes when you then try to output it using an outputText, it won't show the line feed as \n is ignored in HTML. You have to use Trinidad's outputDocument component for that.
    Regards,
    ~ Simon

  • How can I remove the "enter" key from the keyboard? (New Macbook)

    I have the last white macbook, I spilled beer in a couple of keys, I managed to removed them without problems, but I can't find the way to remove the Enter Key, and there is no help on internet Anyone?

    What characters are you talking about exactly and why would you want to remove any?
    There is really no way to modify Apple's keyboards or add your own in iOS, but there are some apps that may provide a work around.

  • Arrow keys and enter key not functioning in Firefox 3.6 when viewing PDF

    I'm using Adobe Reader 9.3.0.
    I have a web application that displays PDFs (using Adobe Reader) in a browser.  The PDF is loaded onto the page inside an IFRAME.  In addition to the IFRAME containing a PDF, the page also includes several forms, text fields, etc. For the most part this is working fine.  However, I have a glitch when using this in Firefox 3.6. I'm finding that certain keyboard events are being lost and I strongly suspect that they are being swallowed by Adobe Reader.  When I place focus on an HTML text field and press enter key or arrow keys, I do not get the appropriate key events.  If I run the exact same test without the PDF IFRAME these key events work correctly, but as soon as I load the PDF into the IFRAME they do not.  I believe the primary key event that gets lost is the keydown event.  I do get the keyup event.
    Again, the events work correctly up until I load the PDF onto the page.
    I've verified that this error does not occur in Firefox 3.5 and 3.0.
    Here is a testcase to reproduce this:
    <html>
    <head>
        <title>JavaScript - Detecting keystrokes</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <script type="text/javascript">
            var pdfURL = 'http://samplepdf.com/sample.pdf';
            window.onload = function () {
                init();
            document.defaultAction = true;
            function init() {
                var x = document.getElementById('testForm').getElementsByTagName('input');
                for (var i=0;i<x.length;i++) {
                    x[i].onclick = setEvents;
                    if (x[i].checked)
                        x[i].onclick();
                writeroot = document.getElementById('writeroot');
                document.getElementById('emptyWriteroot').onclick = function () {
                    writeroot.innerHTML = '';
                    return false;
            function setEvents() {
                if (this.id == 'default') {
                    document.defaultAction = !this.checked;
                    return;
                var eventHandler = (this.checked) ? detectEvent : empty;
                document.getElementById('textfield')['on'+this.id] = eventHandler;
                //document['on'+this.id] = eventHandler;
            function detectEvent(e) {
                var evt = e || window.event;
                writeData('<b>'+evt.type+'</b>:  keyCode=' + evt.keyCode+' : charCode=' + evt.charCode);
                return document.defaultAction;
            function empty() {
                // nothing
            var writeroot;
            function writeData(msg) {
                writeroot.innerHTML += msg + '<br />';
        </script>
        <style type="text/css">
            body {
                font-size: 12px;
            #writeroot {
                height: 300px;
                overflow: auto;
                border: 1px solid #2EB2DC;
        </style>
    </head>
    <body>
    <form id="testForm">
    <input type="checkbox" id="keydown" /> <label for="keydown">keydown</label><br />
    <input type="checkbox" id="keypress" /> <label for="keypress">keypress</label><br />
    <input type="checkbox" id="keyup" /> <label for="keyup">keyup</label><br />
    <input type="checkbox" id="default" /> <label for="default">Suppress default action</label><br />
    <input type="text" id="textfield" /><br />
    <button id="emptyWriteroot">Remove messages</button>
    </form>
    <a href="#" onclick="document.getElementById('docviewer-page').src=pdfURL;return false">Now load IFrame</a>
    <p id="writeroot"></p>
    <div id="container2" style="border:1px solid black;width:400px;height:200px">
            <iframe
                id='docviewer-page'
                name='docviewer-page'
                title='document page'
                src='http://www.google.com'
                align='left'
                width='100%'
                height='100%'
                scrolling='auto'
                frameborder=0></iframe>
    </div>
    </body>
    </html>
    Paste the above into an HTML document.  Open the HTML document in Firefox 3.6.  Check the four checkboxes.  Move into the text field and press arrow keys and enter key to observe the results when it is working correctly.  Then click on the "Now Load PDF" link.  Press the arrow keys and enter key again and observe that the behavior has changed.
    Anybody have any idea why this is happening or how to work around it?

    I found a workaround!
    By using an object tag instead of an iframe, all the keys seems to work fine and the PDF still renders in the page the same way.
    Here's a page that works:
    <html>
    <head>
        <title>JavaScript - Detecting keystrokes</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <script type="text/javascript">
            var pdfURL = 'http://samplepdf.com/sample.pdf';
            window.onload = function () {
                init();
            document.defaultAction = true;
            function init() {
                var x = document.getElementById('testForm').getElementsByTagName('input');
                for (var i=0;i<x.length;i++) {
                    x[i].onclick = setEvents;
                    if (x[i].checked)
                        x[i].onclick();
                writeroot = document.getElementById('writeroot');
                document.getElementById('emptyWriteroot').onclick = function () {
                    writeroot.innerHTML = '';
                    return false;
            function setEvents() {
                if (this.id == 'default') {
                    document.defaultAction = !this.checked;
                    return;
                var eventHandler = (this.checked) ? detectEvent : empty;
                document.getElementById('textfield')['on'+this.id] = eventHandler;
                //document['on'+this.id] = eventHandler;
            function detectEvent(e) {
                var evt = e || window.event;
                writeData('<b>'+evt.type+'</b>:  keyCode=' + evt.keyCode+' : charCode=' + evt.charCode);
                return document.defaultAction;
            function empty() {
                // nothing
            var writeroot;
            function writeData(msg) {
                writeroot.innerHTML += msg + '<br />';
        </script>
        <style type="text/css">
            body {
                font-size: 12px;
            #writeroot {
                height: 300px;
                overflow: auto;
                border: 1px solid #2EB2DC;
        </style>
    </head>
    <body>
    <form id="testForm">
    <input type="checkbox" id="keydown" /> <label for="keydown">keydown</label><br />
    <input type="checkbox" id="keypress" /> <label for="keypress">keypress</label><br />
    <input type="checkbox" id="keyup" /> <label for="keyup">keyup</label><br />
    <input type="checkbox" id="default" /> <label for="default">Suppress default action</label><br />
    <input type="text" id="textfield" /><br />
    <button id="emptyWriteroot">Remove messages</button>
    </form>
    <a href="#" onclick="document.getElementById('docviewer-page').data=pdfURL;return false">Now load IFrame</a>
    <p id="writeroot"></p>
    <div id="container2" style="border:1px solid black;width:400px;height:200px">
            <object
                id='docviewer-page'
                name='docviewer-page'
                title='document page'
                data='http://www.google.com'
                align='left'
                width='100%'
                height='100%'
                ></object>
    </div>
    </body>
    </html>

  • Submit a Form in IE with Enter key.

    Hi all,
    I have a Form with a Get attribute, a textfield and a search
    (submit) button.
    When I press the Enter key in my keyboard, the form is not
    submited in I.E. (i'm using IE 7).
    When I click the button with the mouse, it works.
    In Firefox, all (keyboard and mouse) works.
    How can we workaround this issue?
    Thanks

    oicram wrote:
    > Please, I need an answer here. I have deeply search over
    the internet and I only found something about .js or hidden fields,
    but its all vague...
    http://www.webreference.com/programming/java_dhtml/chap8/2/2.html
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Capturing ENTER key in WD4A

    Hi all,
    I m getting an input from the user in an Inputfield. I also have a table with two columns.
    The textfield is used to perform wildcard search (filter) for the table. That is, if i give a character like 'A', then the records which start with the character 'A' must be shown in the table when i press teh ENTER key..
    I have got this outptu when i click a button. But i want to get the same output, when i give 'A' and press ENTER key..
    How to acheive the same in WD4A?
    Regards,
    Shanthi

    hi Shanthi,
    for the corresponding Enter key , make a action say act in the EventPropery of the element.
    in the Onactionact,method in the Methods tab , write the same piece of code , which u r writting in the Button
    u wud be able to do it nw
    regards,
    amit

  • SoftKeyBoard checking for ENTER key

    When I put up the softkeyboard for iOS how can I test when the ENTER key has been pressed using actionscript 3.
    Currently I listen for the SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE to call a function but would rather do it using the ENTER key (go, search etc return key labelled key).
    Please note I am using Flash Pro not Flex.

    Do you really want to recheck it in a loop? It seems to me that it would be easier to create a separate thread that reads System.in, blocks on it, and then issues an event when it gets something.

  • Traversing Focus By Enter Key

    Please Try to Help Me on this ............
    I Have a Screen where I need to traverse focus (it has textfields, combo boxes and buttons) when I press the Enter Key (like Tab).
    I used a Key listener and was able to do it (to a certain point)
    The code I have written is below ..
    Now The problem is when the focus sets on a JComboBox, it wont go further (tab works). I know that the enter key in a JComboBox is used to select a item.
    So what I need is first to be able to select an item using the enter key and when press enter key again, the focus must go to the next component.
    Is there a way to do it ???
    (JCheckBox and JButton has similar problems)
    SymKey aSymKey = new SymKey();
    textfield1.addKeyListener(aSymKey);
    textfield2.addKeyListener(aSymKey);
    combobox1.addKeyListener(aSymKey);
    combobox2.addKeyListener(aSymKey);
    checkbox1.addKeyListener(aSymKey);
    textfield3.addKeyListener(aSymKey);
    button1.addKeyListener(aSymKey);
    class SymKey extends KeyAdapter {
    public void keyPressed(KeyEvent e){
    if (e.getKeyCode() == e.VK_ENTER) {
    if (e.isShiftDown())
    FocusManager.getCurrentManager().focusPreviousComponent((JComponent)e.getSource());
    else
    FocusManager.getCurrentManager().focusNextComponent((JComponent)e.getSource());

    Hi,
    You need to implement the focusmanager, and set currentfocusmanager with your focusmanger.Then it works out.Because Jcombobox is editable the keyevent of the combobox executes .
    Hope it helps.
    venkat

  • Default button being clicked multiple times when enter key is pressed

    Hello,
    There seems to be a strange difference in how the default button behaves in JRE 1.4.X versus 1.3.X.
    In 1.3.X, when the enter key was pressed, the default button would be "pressed down" when the key was pressed, but wouldn't be fully clicked until the enter key was released. This means that only one event would be fired, even if the enter key was held down for a long time.
    In 1.4.X however, if the enter key is pressed and held for more than a second, then the default button is clicked multiple times until the enter key is released.
    Consider the following code (which is just a dialog with a button on it):
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(jButton1);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    new SimpleDialog().show();
    When you compile and run this code under 1.3.1, and hold the enter key down for 10 seconds, you will only see one print line statement.
    However, if you compile and run this code under 1.4.1, and then hold the enter key down for 10 seconds, you will see about 100 print line statements.
    Is this a bug in 1.4.X or was this desired functionality (e.g. was it fixing some other bug)?
    Does anyone know how I can make it behave the "old way" (when the default button was only clicked once)?
    Thanks in advance if you have any advice.
    Dave

    Hello all,
    I think I have found a solution. The behaviour of the how the default button is triggered is contained withing the RootPaneUI. So, if I override the default RootPaneUI used by the UIDefaults with my own RootPaneUI, I can define that behaviour for myself.
    Here is my simple dialog with a button and a textfield (when the focus is NOT on the button, and the enter key is pressed, I don't want the actionPerformed method to be called until the enter key is released):
    package focustests;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(new JTextField("a text field"), BorderLayout.NORTH);
    this.getContentPane().add(jButton1, BorderLayout.SOUTH);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    javax.swing.UIManager.getDefaults().put("RootPaneUI", "focustests.MyRootPaneUI");
    new SimpleDialog().show();
    and the MyRootPaneUI class controls the behaviour for how the default button is handled:
    package focustests;
    import javax.swing.*;
    * Since we are using the Windows look and feel in our product, we should extend from the
    * Windows laf RootPaneUI
    public class MyRootPaneUI extends com.sun.java.swing.plaf.windows.WindowsRootPaneUI
    private final static MyRootPaneUI myRootPaneUI = new MyRootPaneUI();
    public static javax.swing.plaf.ComponentUI createUI(JComponent c) {
    return myRootPaneUI;
    protected void installKeyboardActions(JRootPane root) {
    super.installKeyboardActions(root);
    InputMap km = SwingUtilities.getUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    if (km == null) {
    km = new javax.swing.plaf.InputMapUIResource();
    SwingUtilities.replaceUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW, km);
    //when the Enter key is pressed (with no modifiers), trigger a "pressed" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, false), "pressed");
    //when the Enter key is released (with no modifiers), trigger a "release" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, true), "released");
    ActionMap am = SwingUtilities.getUIActionMap(root);
    if (am == null) {
    am = new javax.swing.plaf.ActionMapUIResource();
    SwingUtilities.replaceUIActionMap(root, am);
    am.put("press", new HoldDefaultButtonAction(root, true));
    am.put("release", new HoldDefaultButtonAction(root, false));
    * This is a copy of the static nested class DefaultAction which was
    * contained in the JRootPane class in Java 1.3.1. Since we are
    * using Java 1.4.1, and we don't like the way the new JRE handles
    * the default button, we will replace it with the old (1.3.1) way of
    * doing things.
    static class HoldDefaultButtonAction extends AbstractAction {
    JRootPane root;
    boolean press;
    HoldDefaultButtonAction(JRootPane root, boolean press) {
    this.root = root;
    this.press = press;
    public void actionPerformed(java.awt.event.ActionEvent e) {
    JButton owner = root.getDefaultButton();
    if (owner != null && SwingUtilities.getRootPane(owner) == root) {
    ButtonModel model = owner.getModel();
    if (press) {
    model.setArmed(true);
    model.setPressed(true);
    } else {
    model.setPressed(false);
    public boolean isEnabled() {
    JButton owner = root.getDefaultButton();
    return (owner != null && owner.getModel().isEnabled());
    This seems to work. Does anyone have any comments on this solution?
    Tjacobs, I still don't see how adding a key listeners or overriding the processKeyEvent method on my button would help. The button won't receive the key event unless the focus is on the button. There is no method "enableEvents(...)" in the AWTEventMulticaster. Perhaps you have some code examples? Thanks anyway for your help.
    Dave

  • Swiftkey keyboard, where is the "Enter" key???

    Simple question...added Swiftkey keyboard in iOS 8 to my iPad, and it gave me a "send" key where there should be an "enter" key. How in the world do I get the "enter" key on my keyboard instead of the "send" key? I can't find that setting anywhere. The keyboard that they show when you pick a theme has an "enter" key, but mine has a "send" key. Useless.
    This is driving me crazy, any hits for the hintless?
    Thanks.

    I see now that it's context dependent. However, when entering text for a search string in the browser, Swiftkey shows a "Send" key instead of "Enter/Return". When I have an Enter/Return key there, I can just press it and the browser starts my desired search immediately. With the "Send" key, I press it and nothing happens other than a space character appearing immediately after the search string! If I press it twice, the browser will finally start my search.
    This is just the wrong context for Swiftkey to have a "Send" key in place of the "Enter/Return" key. In fact, I'd rather have it be an "Enter/Return" key all the time, that has always worked for me in all contexts. So I'm about ready to throw Swiftkey out of the boat, although I've happily used Swiftkey on Android for a couple of years...On Android Swiftkey, the "Enter/Return" key never changes to a "Send" key, so I think that this is just broken on iOS 8. I really don't like it when keys on a keyboard change depending on context, anyways, that just a badly designed user interface.
    If they don't fix it soon I'll be dumping Swiftkey until they do fix it. I really did like Swiftkey on Android, but on the iPad not so much. Maybe I can find another keyboard, other than the Apple keyboard, that works well on the iPad. Bums me out, I was looking forward to being able to use Swiftkey on iOS 8 like I could on Android.

  • JMenuKeyListener Enter Key

    Hello
    I have a problem with JMenuKeyListener, I have JTextField when I writing there is a popup appear then I have to choose from the Popup Menu by ENTER key, but it dose not work... any Idea?
    Note: when you enter text on the JTextField start with 'i' ... :)
    this is the Code:
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JMenuItem;
    import javax.swing.JPopupMenu;
    import javax.swing.JTextField;
    import javax.swing.SwingConstants;
    public class TestJMenuItemLKeyistener extends JFrame implements KeyListener
        private static final long serialVersionUID = 10000L;
        private JButton exitButton = new JButton();
        private JLabel resultLabel = new JLabel();
        private JLabel searchInPopupLabel = new JLabel();
        private JMenuItem item1 = new JMenuItem("item1");
        private JMenuItem item2 = new JMenuItem("item2");
        private JMenuItem item3 = new JMenuItem("item3");
        private JPopupMenu popup = new JPopupMenu();
        private JTextField textField = new JTextField();
         * Launch the application
         * @param args
        public static void main(String args[])
            try
                TestJMenuItemLKeyistener frame = new TestJMenuItemLKeyistener();
                frame.setVisible(true);
            catch (Exception e)
                e.printStackTrace();
         * Create
        public TestJMenuItemLKeyistener()
            super();
            try
                createPopup();
                jbInit();
            catch (Throwable e)
                e.printStackTrace();
        private void createPopup()
            popup.setPopupSize(new Dimension(200,120));
            popup.setPreferredSize(new Dimension(200,120));
            popup.add(item1);
            popup.add(item2);
            popup.add(item3);      
        private void jbInit() throws Exception
            textField.setBounds(10, 10, 200, 40);  
            textField.addKeyListener(this);
            resultLabel.setHorizontalTextPosition(SwingConstants.CENTER);
            resultLabel.setHorizontalAlignment(SwingConstants.CENTER);
            resultLabel.setText("Result");
            resultLabel.setBounds(10, 56, 200, 40);      
            exitButton.setBounds(10, 216, 200, 40);
            exitButton.setText("Exit");
            exitButton.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    System.exit(0);
            item1.addKeyListener(this);
            item2.addKeyListener(this);
            item3.addKeyListener(this);
            this.setSize(400, 300);
            this.setTitle("Test JMenuItem Listener");
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.getContentPane().setLayout(null);      
            this.getContentPane().add(textField);
            this.getContentPane().add(resultLabel);
            this.getContentPane().add(exitButton);
            this.setLocation(Toolkit.getDefaultToolkit().getScreenSize().width-this.getWidth()>>1,
                      Toolkit.getDefaultToolkit().getScreenSize().height-this.getHeight()>>1);
            getContentPane().add(searchInPopupLabel);
            searchInPopupLabel.setForeground(Color.RED);
            searchInPopupLabel.setHorizontalAlignment(SwingConstants.CENTER);
            searchInPopupLabel.setText("Search in Popup");
            searchInPopupLabel.setBounds(216, 10, 166, 40);
        public void keyPressed(KeyEvent e)
        public void keyReleased(KeyEvent e)
            if(e.getKeyCode() != KeyEvent.VK_DOWN && e.getKeyCode() != KeyEvent.VK_ENTER)
                createPopup();
                popup.setVisible(false);  
                textField.requestFocus(true);
                String text = textField.getText();
                Component[] its = popup.getComponents();
                for(Component it: its)
                    if(!((JMenuItem)it).getText().startsWith(text))
                        popup.remove(((JMenuItem)it));
                popup.setPreferredSize(new Dimension(textField.getSize().width, popup.getComponents().length*40));
                popup.show(textField, 0, textField.getHeight());  
                textField.requestFocus(true);
            if(e.getKeyCode() == KeyEvent.VK_ENTER)
                if(e.getSource() instanceof JMenuItem)
                    resultLabel.setText(((JMenuItem)e.getSource()).getText());
        public void keyTyped(KeyEvent e)

    First of all you should be adding ActionListeners to the MenuItem, not KeyListeners, to handle the selection of a menu item.
    Also, focus should remain on the popup:
    popup.show(textField, 0, textField.getHeight());
    // textField.requestFocus(true);

  • Detecting Enter key while textbox has focus....

    It seems like in CS5 while using the tlf textfield that when the focus is in the textfield that the keyboard.enter key is not fired. However, outside it is. If I set my tab index to add the "login" button as the third tab index then the enter key works fine. But sometimes when I'm filling out a form when I'm in the last textbox I just hit enter. What's the workaround to have the enter key fired while focus is in the textfield?
    Thanks,
    C

    It seems like in CS5 while using the tlf textfield that when the focus is in the textfield that the keyboard.enter key is not fired. However, outside it is. If I set my tab index to add the "login" button as the third tab index then the enter key works fine. But sometimes when I'm filling out a form when I'm in the last textbox I just hit enter. What's the workaround to have the enter key fired while focus is in the textfield?
    Thanks,
    C

  • Capturing the enter key

    I want to take some action when the enter key is pressed in a textbox. I suppose I need to identify the enter key when it is pressed and then call some other method. please advise.

    actually, u should use the KeyLIstener
    The keycode (you will need this later) is VK_ENTERIf its a TextField, the reply re : ActionListener was correct.

  • I downloaded Ios8 and my keyboard for my financial apps does not include a "enter" key or and "." decible key. How do I get my old keyboard back?

    All my financial apps require a "enter" key and a "." decibel key. The new keyboards for IOs8 only have a "delete" key and a blank key with no use.
    How do I get my old keyboard back to use on these apps?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for

  • For all entries Where condition character length partilally has to be used

    Hi, I need to fetch all the data reocrds of one internal table into the other with the condition that in one of the field of first internal table only partial length of the character has to be used as a where condition. Example: Select xxxx          

  • How do debug an application in Shared Memory debug mode using JDev

    I don't see the option of using "Shared memory" debug mode in JDev. There is only socket debug option(Attach/Listen) in debugger but no shared memory debug option. Is it missing or is it hidden somewhere. Can anyone let me know as all IDEs provide th

  • The system/systems - SM7, has/have not been registered in SLM

    Hi, When I go tx DSWP--> Maintenance Optimizer, it shows the error "The system/systems - SM7, has/have not been registered in SLM" Then I click the help of the message and explain this: Diagnosis In order to download and deploy the support packages t

  • How to revert back to iMovie 9 after reinstalling Mavericks?

    Good Day All, I recently had to reinstall my OS (OSX Mavericks) for my MacBook Pro 13-inch Mid 2012 Model. Prior to this, I had iMovie 10 (yuck), AS WELL AS the old iMovie, which had remained behind in my applications folder (iMovie 9). Before I rein

  • Edit the fie and fix matadata store

    <?xml version = '1.0' encoding = 'windows-1252'?> <adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:sec="http://xmlns.oracle.com/adf/security/config" xmlns:adf="http://xmlns.oracle.com/adf/config/properties"> <sec:adf-security-child xmlns=