https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
tornadofx
  • v

    ValV

    09/14/2018, 7:53 PM
    How to fix the glitch with `menuitem`s
    c
    • 2
    • 5
  • e

    elect

    09/14/2018, 8:30 PM
    hi guys, I was wondering if there is a way to save the resulting graph into a file or an image
    r
    • 2
    • 59
  • h

    hudsonb

    09/15/2018, 5:32 PM
    ive used RichTextFX for that: https://github.com/FXMisc/RichTextFX
    k
    • 2
    • 1
  • a

    amanda.hinchman-dominguez

    09/16/2018, 3:08 AM
    https://medium.com/@hinchman_amanda/image-processing-in-kotlin-b944bbdee2d9
    👍 4
    v
    • 2
    • 5
  • s

    seiv

    09/18/2018, 11:26 AM
    Hi, I have strange problem, action for choicebox works with previous value, and combobox don't have action at all.. it's bug or so?
    c
    • 2
    • 3
  • s

    seiv

    09/18/2018, 11:40 AM
    Or better to use some listener?
    v
    • 2
    • 3
  • n

    nimakro

    09/18/2018, 2:06 PM
    Ha they are actually using the same template I am currently using for a prototype of our tornadofx website I hope I can share some details soon
    a
    n
    +2
    • 5
    • 12
  • o

    orangy

    09/18/2018, 3:20 PM
    It’s for EOL releases. Current version is still free.
    c
    e
    • 3
    • 4
  • a

    amanda.hinchman-dominguez

    09/19/2018, 6:39 AM
    PixelManipulation.zip
    v
    • 2
    • 4
  • b

    barrongineer

    09/19/2018, 8:55 PM
    Was using an in-mem h2 db. When I switched it to write to a file, everything is okay.
    r
    • 2
    • 1
  • c

    carlw

    09/21/2018, 6:55 PM
    @nate have you seen the TornadoFX wizard component?

    https://www.youtube.com/watch?v=QQa9ArV-WD4▾

    n
    • 2
    • 1
  • s

    SiebelsTim

    09/23/2018, 6:33 AM
    What's weird is, that it doesn't find the class the plug in provides, not a dependency. Thanks for the report!
    👍 1
    m
    e
    • 3
    • 2
  • e

    edvin

    09/23/2018, 7:39 PM
    Haha 🙂 I'll get you one from the next batch Amanda 🙂
    c
    • 2
    • 1
  • v

    ValV

    09/25/2018, 8:06 PM
    Are there any ideas to make something like SceneBuilder but for TornadoFX, considering that TornadoFX does not use Scenes -- ViewBuilder?
    n
    e
    s
    • 4
    • 7
  • a

    arxenix

    09/25/2018, 11:40 PM
    It's so frustrating getting JavaFX layouts to behave the way I want them to
    h
    • 2
    • 1
  • a

    amanda.hinchman-dominguez

    09/26/2018, 2:00 AM
    v
    • 2
    • 5
  • e

    edvin

    09/26/2018, 6:15 AM
    Your column builder just declares a type, it doesn't extract any data. If you want to just return the item value inside the
    ItemViewModel
    , you can do:
    ➕ 1
    :tnx: 1
    v
    • 2
    • 4
  • m

    mikehearn

    09/26/2018, 2:15 PM
    fwiw i used coroutines with javafx a few times
    c
    • 2
    • 1
  • m

    mikehearn

    09/26/2018, 2:40 PM
    if you throttle the system so badly the ui thread doesn't get scheduled whilst you're working yes that can happen. but normally if you're only using one or two threads it's fine. i haven't seen that sort of thing for quite a long time.
    c
    • 2
    • 1
  • m

    mikehearn

    09/26/2018, 2:40 PM
    there were attempts to create thread safe UI toolkits in the 1980s but they largely failed
    c
    • 2
    • 1
  • w

    wakingrufus

    09/27/2018, 7:56 PM
    if I create a combo box of objects, how can I specify which field of the object to use as the "name" of each choice?
    • 1
    • 2
  • r

    ron

    09/28/2018, 12:45 PM
    So who is going to kotlinconf?
    n
    • 2
    • 2
  • h

    hudsonb

    09/28/2018, 12:56 PM
    Does watching the live stream count? 😁
    a
    • 2
    • 1
  • c

    carlw

    09/28/2018, 4:10 PM
    I posted the link mostly for the "Best Practices". I agree about the hack. reminds me of putting PostConstruct in my EJBs
    👍 1
    v
    • 2
    • 1
  • n

    Nico Smeenk

    09/28/2018, 5:50 PM
    Thanks - Part one works perfectly ❤️ Still have a little problem with a ConcurrentModificationException...
    import tornadofx.*
    
    class Test : App(TestView::class)
    
    class TestView : View() {
        val tabpane = tabpane {
            tab(TestWizard::class)
        }
        override val root = pane {
            add(tabpane)
        }
    
        fun closeTabs() {
            tabpane.tabs.forEach { it.close() }
        }
    }
    
    class TestWizard : Wizard() {
        init {
            add(TestWizard1::class)
        }
    
        override fun onSave() {
            find(TestView::class).closeTabs()
        }
    
    }
    
    class TestWizard1 : View("Test") {
        override val root = pane {}
    }
    • 1
    • 1
  • t

    thomasnield

    09/29/2018, 5:25 AM
    More fun with TornadoFX and machine learning.
    👍 5
    v
    • 2
    • 1
  • j

    jo

    09/29/2018, 10:21 PM
    Does the removal of JavaFX (or movement into a standalone install) mean that AWT and Swing are getting moved, too?
    e
    r
    c
    • 4
    • 13
  • e

    edvin

    10/01/2018, 7:03 AM
    @ValV You should check the JavaFX 8 CSS reference to determine what CSS properties are available to specific node types 🙂
    v
    • 2
    • 2
  • e

    edvin

    10/01/2018, 7:23 PM
    @ValV Check out this issue for an example on how to pass parameters: https://github.com/edvin/tornadofx/issues/731
    v
    • 2
    • 7
  • e

    edvin

    10/02/2018, 6:18 AM
    @amanda.hinchman-dominguez It seems from the error message like you passed a
    null
    value for the
    scope
    parameter 🙂 Can you show me the code?
    😮 1
    a
    • 2
    • 1
Powered by Linen
Title
e

edvin

10/02/2018, 6:18 AM
@amanda.hinchman-dominguez It seems from the error message like you passed a
null
value for the
scope
parameter 🙂 Can you show me the code?
😮 1
a

amanda.hinchman-dominguez

10/04/2018, 11:55 AM
Yes! So sorry internet is spotty. I'll post it up later today
View count: 3