Skip to content

Instantly share code, notes, and snippets.

View ICHx's full-sized avatar
♻️
I may be slow to respond.

ICHx ICHx

♻️
I may be slow to respond.
View GitHub Profile
@ICHx
ICHx / Notepad.kt
Created August 26, 2021 10:09
Notepad evolved, refactored to Kotlin, on JDK11+
package javaproj
import java.awt.event.ActionEvent
import java.awt.event.ActionListener
import java.awt.event.WindowEvent
import java.io.*
import javax.swing.*
import kotlin.system.exitProcess
import javax.swing.JOptionPane.showMessageDialog as alert