There are two ways. You can produce a headless-settings.jap file containing the defaults or provide a SkinModel.class file with the defaults. The SkinModel can also enforce correct data types. Producing the headless-settings.jap file is probably the quickest way. Set the defaults you like using the UI then use Tools->Skin developer->"Prepare for online and console use". jAlbum now generates a "headless-settings.jap" file to the skin folder that should initialize the state correctly. The presence of this file also has the advantage of making your skin work even if it's being used in a console environment (i.e. a "headless" environment, where there is no screen or UI around)
That said, it should be possible to use hints.jap to set defaults too. I can check into it later, but the workaround to use headless-settings.jap should work fine. If that doesn't work, please get back to me.
I use hints.jap only for choosing selected defaults for jAlbum settings, not for skin settings. The user can elect to ignore hints.jap, so I don't want the user to be ignoring the skin defaults, which I have selected for very good reasons.
The cleanest way to set skin defaults is with a SkinModel.class file, and while that will work with an interpreted (rather than compiled) skin UI, it's a little awkward in that context. Using a headless-settings.jap file is fine, but why not just set your defaults in the UI itself?
JCheckBox thisBox = new JCheckBox("Check here for something", false);
You also don't need the strings of spaces for the check box text. Just specify them as empty, then tab between them when doing the layout:
JCheckBox thisBox = new JCheckBox("", false);
JCheckBox anotherBox = new JCheckBox("", true);
If that doesn't work, please get back to me.
If I start a new project, the check-marks are set as I had coded in hints.jap or headless-settings.
But I see also fields with my personal name and folders, which are not in hints.jap or headless-settings.
I did click in the past on File / Save as default. So I think that loads the defaults for a new proiject.
But my problem is also not solved with file headless-settings.jap because in an existing project which was saved before I added the new check-marks, I see still only cleared check-marks for my New window check-marks.
I have now a hints.jap file and a headless-settings.jap file which is I think too much.
Which file should I remove?