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

JTextArea loses selection on popup or other menu click

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0, 1.2.1, 1.3.0
    • client-libs
    • generic, x86
    • generic, windows_95, windows_nt



      Name: skT88420 Date: 06/04/99


      Similar to or same as Bug 4096971. This was fixed in Swing 1.1,
      but is broken again in Swing 1.1.1 Beta 2 (and maybe Beta 1).
      Please do not close this bug as a duplicate of the fixed bug. It
      is broken again, and the current behavior is totally unacceptable
      and non-standard. After selecting text in a JTextArea, then
      using the right mouse to popup a menu, or the left mouse to
      access an application menu, the selection is lost! (At least
      visually.) Generally a user makes a selection in order to do
      something with the selected text, but now that selection goes
      away! This makes us, the developers who support Sun and Java,
      look bad when our apps don't work as expected. Our users don't
      really want to hear "it's the language's fault!" Please fix this
      before 1.1.1 Final is released!
      (Review ID: 83916)
      ======================================================================

      Name: skT88420 Date: 06/09/99


      If I have 2 jInternalFrames each with a jTextArea. When I call select the data is highlighted like I expect. If I call select on the other jTextArea, the data is highlighted but the previous highlight disappears. I have tried to capture the paint method and re"select" the text but I get into an infinite paint loop.
      (Review ID: 84163)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: