diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 5dd93b5..90e5b53 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -7,6 +7,7 @@ import filter.EchoFilter import filter.Limiter import gui.SimpleEx import random.RandomDisplacementFractal +import java.awt.event.WindowAdapter import javax.swing.JSlider import kotlin.math.cos import kotlin.math.pow @@ -93,8 +94,10 @@ fun main(args: Array) { frame.add_slider("Property 1", 0, 100, 50).addChangeListener { e -> val value = (e.source as JSlider).value + println(value) } + frame.isVisible = true }