refactor: try-with-resources (AutoClosable)
refactor: try-with-resources (AutoClosable)

mhcrnl/java-swing-tips,aoguren/java-swing-tips,aoguren/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,mhcrnl/java-swing-tips,aoguren/java-swing-tips,aterai/java-swing-tips,mhcrnl/java-swing-tips,aterai/java-swing-tips