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

TextCursor is not changing while mouse over on the button component in JTextPane.

XMLWordPrintable

    • Cause Known
    • generic
    • generic

      Bug Info:
      =========
      1. Mouse over on the button component which has inside the textpane.The text cursor is not changing to mouse default cursor(arrow cursor) but if i click on the button with text cursor then it fires the event.

      Here my expected behavior is the text cursor should change to arrow cursor.

      2. In the fire event, I have written the code to add the icon into a textpane but it adds the icon in the left side of button component instead of adding right side because the cursor position is left side instead of right side of the button component.

      Here my expected behavior is the cursor should be right side of the button component.

      3.If you keep on press the button then it add the icons in the left side then it should be looks like RTL orientation.

      Even I have seen this behavior in 5.0 also.

      Please check the attached code snippet.

            peterz Peter Zhelezniakov
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: