Commit c96cb0e8 authored by Jens Korinth's avatar Jens Korinth
Browse files

Bugfix: replace EXIT_ON_CLOSE by proper constant

parent 2ea0ef5b
...@@ -24,7 +24,7 @@ class Tapasco(mainController: ViewController) extends SimpleSwingApplication { ...@@ -24,7 +24,7 @@ class Tapasco(mainController: ViewController) extends SimpleSwingApplication {
menuBar = mainMenu menuBar = mainMenu
preferredSize = PREFERRED_SZ preferredSize = PREFERRED_SZ
pack() pack()
peer.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE) peer.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE)
} }
override def main(args: Array[String]): Unit = { override def main(args: Array[String]): Unit = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment