[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24317] New: Caret behaviour irregular
From: |
abalkiss at redhat dot com |
Subject: |
[Bug swing/24317] New: Caret behaviour irregular |
Date: |
11 Oct 2005 19:44:33 -0000 |
JTextComponents have unpredictable caret behaviour. Sometimes it flashes,
sometimes it doesn't. Sometimes it doesn't paint at all. When you click
button1, although the dot position is updated (ie, getDot() stores the new
value), sometimes it is not painted in the new position right away.
Any JTextComponent will do, but below I've pasted a small example.
**EXAMPLE PROGRAM**
import javax.swing.*;
public class Editor
{
public static void main (String[] args)
{
JEditorPane pane = new JEditorPane();
pane.setText("012345678901234567890e");
JFrame jf = new JFrame();
jf.add(pane);
jf.setSize(200,200);
jf.show();
}
}
--
Summary: Caret behaviour irregular
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: abalkiss at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24317
- [Bug swing/24317] New: Caret behaviour irregular,
abalkiss at redhat dot com <=