[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: implemented blinking caret in text components.
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: implemented blinking caret in text components. |
Date: |
Fri, 20 May 2005 21:43:04 +0200 |
the subject says it all.
2005-05-20 Roman Kennke <address@hidden>
* javax/swing/text/JTextComponent.java
(CaretBlinkTimer): Added inner class to make caret blinking.
(constructor): Create one instance of CaretBlinkTimer.
(setEditable): Switch caret on and off depending on the editable
property.
(setCare): Register caret with the CaretBlinkTimer.
* javax/swing/text/DefaultCaret.java:
Set a good blink rate of 500ms.
/Roman
Caret.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: implemented blinking caret in text components.,
Roman Kennke <=