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

spec for java.awt.swing.StyledEditorKit.ForegroundAction unclear

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.5



        Name: akC57697 Date: 05/05/98



        The spec for java.awt.swing.StyledEditorKit.ForegroundAction is unclear.
        It does not specify the class will use the foreground specified as
        the command string on the ActionEvent if there is one,
        otherwise the foreground initialized with will be used.

        The doc says:
        "
             An action to set the foreground color in the focused
             JEditorPane by calling its setForeground method.
             Warning: serialized objects of this class will not be compatible with
             future swing releases. The current serialization support is appropriate
             for short term storage or RMI between Swing1.0 applications. It will
             not be possible to load serialized Swing1.0 objects with future releases
             of Swing. The JDK1.2 release of Swing will be the compatibility
             baseline for the serialized form of Swing objects.
        "

        ======================================================================

              sharonz Sharon Zakhour (Inactive)
              akuzminorcl Alexander Kuzmin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: