Results 1 to 2 of 2

Thread: JTextFields

  1. #1
    wired-in=p is offline Member
    Join Date
    Jul 2011
    Rep Power

    Default JTextFields

    In a project i am doing i have several jtextfields with an action listener. Initially, the text fields only respond to the enter or return key, which is what I want. However, the jtextfields change so that an action event is fired when the space bar is clicked

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

    Default Re: JTextFields

    So what exactly is your question? Is it that this is behavior that you don't want to happen? If so, you'll need to debug your code. If you need our help, you'll need to find out where the bugs are in your code and show the code, right?

Similar Threads

  1. Problems Using JTextFields
    By jrJava in forum New To Java
    Replies: 2
    Last Post: 02-03-2011, 02:55 AM
  2. get values from JTextFields input
    By cselic in forum Java 2D
    Replies: 3
    Last Post: 07-27-2010, 10:35 PM
  3. Java GUI, reading an Array Of JTextFields
    By markious in forum New To Java
    Replies: 3
    Last Post: 03-09-2010, 11:29 PM
  4. Problem with JTextFields not null
    By romina in forum AWT / Swing
    Replies: 1
    Last Post: 08-07-2007, 06:17 AM
  5. JTextFields with username & password.
    By Eric in forum AWT / Swing
    Replies: 2
    Last Post: 07-02-2007, 12:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts