[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/25540] New: caret blink rate not set
From: |
ctl at highsorcery dot com |
Subject: |
[Bug swing/25540] New: caret blink rate not set |
Date: |
22 Dec 2005 22:50:27 -0000 |
In javax.swing.plaf.metal.MetalLookAndFeel, the properties
"FormattedTextField.caretBlinkRate" and "TextField.caretBlinkRate" are not
being set. They should be set to new Integer(500).
Alternatively (or maybe in addition), in javax.swing.plaf.basic.BasicTextUI the
line:
caret.setBlinkRate(UIManager.getInt(prefix + ".caretBlinkRate"));
should be changed to check to see if UIManager.getInt(etc) is null before
trying to use it. Well, not null, obviously, since getInt returns and int, but
rather invoke UIManager.get() first, check if that's null, and only if it isn't
null get the int and then set the blink rate.
--
Summary: caret blink rate not set
Product: classpath
Version: 0.20
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ctl at highsorcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25540
- [Bug swing/25540] New: caret blink rate not set,
ctl at highsorcery dot com <=