Eiyeron / lsdpatch

LSDj ROM Patcher - Redux
http://www.littlesounddj.com
MIT License
11 stars 1 forks source link

Filechooser Improvments #14

Closed Eiyeron closed 7 years ago

Eiyeron commented 7 years ago

Fixing both this issue and #2 except for the the it won't remember the folder through different executions of the program.

I'm just not really happy on how the GlobalHolder look. Inspired by some trick I learnt with C++ experience, I tried to apply it on Java, only to face generic programming limitations on Java. The result look a bit silly but it works as expected.

The last step is probably remembering the path through instance through the Preferences API. Now to determine if I should not use GlobalHolder anymore (and eventually remove it) and just interface with the API directly for every case a JFileChooser is used.

Eiyeron commented 7 years ago

Now also closes #15 and switches from BMP to PNG as a bonus.