bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/52713] New: JTextComponent crash when caret set to null


From: Steven_Carr at yahoo dot com
Subject: [Bug swing/52713] New: JTextComponent crash when caret set to null
Date: Sun, 25 Mar 2012 15:46:52 +0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52713

             Bug #: 52713
           Summary: JTextComponent crash when caret set to null
    Classification: Unclassified
           Product: classpath
           Version: 0.98
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: address@hidden
        ReportedBy: address@hidden


If text is added, and the widget is not yet visible, caret is not initialized. 
We get a Null Pointer Exception executing this line:

caret.setMagicCaretPosition(modelToView(dot).getLocation());



reply via email to

[Prev in Thread] Current Thread [Next in Thread]