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?
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:
On Linux - https://unix.stackexchange.com/questions/55423/how-to-change-cursor-shape-color-and-blinkrate-of-linux-console
On Windows - https://msdn.microsoft.com/en-us/library/ms971316.aspx#atg_avoidflashing_adjusting_the_cursor_blink_rate_programmatically
(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.