Returns the system property of the specified key saved at system initialization time. This method should only be used for the system properties that are not changed during runtime. It accesses a private copy of the system properties so that user's locking of the system properties object will not ca
(String key)
| 252 | * |
| 253 | */ |
| 254 | public static String getSavedProperty(String key) { |
| 255 | if(org.opensourcephysics.js.JSUtil.isJS)return "SwingJS environment."; |
| 256 | if (savedProps.isEmpty()) |
| 257 | throw new IllegalStateException("Should be non-empty if initialized"); |
| 258 | |
| 259 | return savedProps.getProperty(key); |
| 260 | } |
| 261 | |
| 262 | // TODO: the Property Management needs to be refactored and |
| 263 | // the appropriate prop keys need to be accessible to the |
nothing calls this directly
no test coverage detected