fixed gui stuff

This commit is contained in:
Anton Lydike 2023-01-21 14:08:29 +00:00
parent f3c678f589
commit 20bbc7e843

View File

@ -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<String>) {
frame.add_slider("Property 1", 0, 100, 50).addChangeListener { e ->
val value = (e.source as JSlider).value
println(value)
}
frame.isVisible = true
}