registerStaticAttributeKey NullPointerException when refering to a FontConstant

XMLWordPrintable

    • kestrel
    • x86
    • windows_nt



      Name: skT88420 Date: 09/15/99


      import javax.swing.text.StyleConstants;

      class Test
        {

      static void main(String args[])
      {

      Object testObj;
      testObj = StyleConstants.FontConstants.Bold;

      }
        }


      java.lang.NullPointerException:
      at javax.swing.text.StyleContext.registerStaticAttributeKey(StyleContext.java:658)
      at javax.swing.text.StyleConstants.<clinit>(StyleConstants.java:769)
      (Review ID: 95305)
      ======================================================================

            Assignee:
            Tim Prinzing (Inactive)
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: