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

@BeanProperty: PropertyChangeEvent is not sent when changing JComponent's alignmentX and alignmentY bound properties

XMLWordPrintable

      Please run the attached test case. The output will be (JDK9b115 + Win7):

      >>> LISTENER: text changed

      setter setAlignmentX, bound = true:
      @java.beans.BeanProperty(expert=false, hidden=false, visualUpdate=false, bound=true, description=The preferred horizontal alignment of the component., enumerationValues=[], preferred=false, required=false)

      setter setAlignmentY, bound = true:
      @java.beans.BeanProperty(expert=false, hidden=false, visualUpdate=false, bound=true, description=The preferred vertical alignment of the component., enumerationValues=[], preferred=false, required=false)

      >>> LISTENER: text changed

      setter setAlignmentY, bound = true:
      @java.beans.BeanProperty(expert=false, hidden=false, visualUpdate=false, bound=true, description=The preferred vertical alignment of the component., enumerationValues=[], preferred=false, required=false)


      so no events when changing the alignments.

      The JComponent's subclasses are affected (buttons, panes, menu items etc.)

        1. Test.java
          2 kB
          Alexander Stepanov

            Unassigned Unassigned
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: