The following code should write information to a preferences file, that is expected to include left, top, width, height, and, title nodes, however, it does not seem to happen. Any idea how to update the code so that preferences are included within the preferences file exported from the File > Export Preferences option?
Source: Core Java Volume I (8th Edition) Listing 10-8 P. 546 to 549
preferences.xml - does not include nodes for left, top, width, height, and, title:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
"The actual storage of the data is dependent on the platform, e.g. under Windows the Windows Registry is used while under Linux a hidden file in the home directory of the user is used." Quoted from this article.
Does this code snippet save any entries in the Windows registry in my case? Can I look them up?