Skip to content

Instantly share code, notes, and snippets.

View jschneider's full-sized avatar

Johannes Schneider jschneider

View GitHub Profile
jschneider / pom.xml
Created July 29, 2019 11:21
Basic pom.xml
View pom.xml
<project xmlns=""
jschneider / MigPaneExtensions.kt
Created November 8, 2018 07:41
MigPane extension methods for TornadoFX
View MigPaneExtensions.kt
import javafx.event.EventTarget
import javafx.scene.Node
import javafx.scene.Parent
import net.miginfocom.layout.AC
import net.miginfocom.layout.CC
import net.miginfocom.layout.ConstraintParser
import net.miginfocom.layout.LC
import org.tbee.javafx.scene.layout.MigPane
import tornadofx.*
View popup-style.kt
import javafx.scene.paint.Color
import tornadofx.*
* @author Johannes Schneider ([](
fun main(args: Array<String>) {
jschneider / navigation-bug.kt
Created November 8, 2017 10:47
Reproduces the navigation bug
View navigation-bug.kt
import tornadofx.*
* To reproduce use the navigation drawer to switch the views:
* ## Working as expected:
* * Press: View A
* * Press: View B (borward and back buttons work as expected)
* ## Not working as expected:
* * Press: View A
jschneider / cedarsoft.xml
Created October 25, 2013 08:17
Code Style Setting
View cedarsoft.xml
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="cedarsoft">
<option name="USE_SAME_INDENTS" value="true" />
<option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true" />
<option name="JAVA_INDENT_OPTIONS">
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="8" />
<option name="USE_TAB_CHARACTER" value="false" />