Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4308229

Focus Problem with Internal Frames in 1.3 RC1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs
    • None

      This message from: ###@###.###

      Is there a reason why text focus doesn't work in Swing with RC1?

      If I type in a text field in one internal frame and then go to another to
      make a list selection, the text field will not show selection nor handle the
      enter key until I switch to another application and come back to my swing
      app.

      This makes my app very frustrating to use. JTextFields are kinda important,
      you see.

      Performance is great though. :)

      -----------------------------------

      Tom's app is actually a modifed version of Metalworks (a very nice sample program if I do say so). I was able to duplicate this problem with an unmodified version of Metalworks. Here's the proceedure:

      1. Launch Metalworks
      2. Select New from the file menu
      3. Select Open In-Box from the Views menu
      4. Select the "Untitled Message" window.
      5. Click in the To: field
      6. Select the In Box window
      7. Select a node in the tree
      8. Click on the To: field in the "Untitled Message" window.

      At this point, what happens to the focus is not clear. You can type in the text field and letters will show up. However, you get no blinking insertion point. Also (and I can't verify this in Metalworks, but Tom says it's the case) that when enter key will not trigger that text field's "action".

      If you click in another text field and then click back in the To: field then everything is OK. However, this is pretty annoying.

            svioletsunw Scott Violet (Inactive)
            stewilso Steve Wilson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: