access the system caret blink rate in java

243 views Asked by At

I am implementing a simple embedded text editor in java. For the convenience of my users I would like to use the caret blink rate they have set as a system property in their operating system.

I am not using a swing or awt text box, but rather building one from scratch.

What is the simplest way to get at this system property?

1

There are 1 answers

0
Stephen C On BEST ANSWER

The method for configuring the cursor blink rate is highly system dependent, and there is no simple (cross-platform) way to access the rate in Java.

For example:

(These are not direct solutions ... but they illustrate the problem that you would have.)


I would put this application feature into the "too hard" basket, especially since the benefit to most users is (IMO) marginal.