CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: keang

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    4,423

    Re: Problem with JTextField [Beginner]

    Another thing. Do you really want to create a separate ActionListener for every button, you may be better creating one ActionListener for all the buttons that type a character and add that to all...
  2. Replies
    5
    Views
    4,423

    Re: Problem with JTextField [Beginner]

    BTW hard coding the bounds of the buttons is the wrong way to go, it means your keyboard can't be resized. Use a layout manager to layout the buttons instead. You'll probably need something like...
  3. Replies
    5
    Views
    4,423

    Re: Problem with JTextField [Beginner]

    Please use Java naming conventions.

    Why are you using a JFormattedTextField and not just a JTextField?

    Your problem is because setText() overwrites what is currently in the text field so you...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured