LEGUP icon indicating copy to clipboard operation
LEGUP copied to clipboard

[ENHANCEMENT] Update File Explorer version used.

Open Corppet opened this issue 2 years ago • 3 comments

Describe the current behavior of what you're trying to improve. If your enhancement request related to a problem, please also describe the problem.

The current File Explorer used for LEGUP when opening/saving files is outdated and does not follow user preferences.

Describe the improvement you'd like

Configure LEGUP to open the user operating system's file explorer (or an updated version).

Describe alternatives you've considered

Design an entirely new file explorer that follows user preferences (if you are daring for a challenge).

Additional Context

No response

Corppet avatar Feb 17 '23 22:02 Corppet

For the PuzzleEditor and ProofEditor, LEGUP uses the Java FileDialog class. This is a class that is implemented independently of the operating system's file explorer. An alternative is to use JFileChooser.

walkingjason avatar Mar 01 '23 05:03 walkingjason

JFileChooser is acceptable, though you are allowed to use other APIs you deem are more ideal. The goal of this change is to use the operating system's file explorer such that it opens an explorer that matches the user's preferences.

Corppet avatar Mar 16 '23 14:03 Corppet

I feel that issue #475 relates to this, so I'm pointing them to each other

VortiganOfficial avatar Mar 17 '23 20:03 VortiganOfficial