https://kotlinlang.org logo
Docs
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
  • a

    amanda.hinchman-dominguez

    02/10/2018, 11:02 PM
    @jmmk are you talking about a UI static one, or one done by an action?
    j
    • 2
    • 2
  • n

    nimakro

    02/12/2018, 7:45 AM
    Hey guys (@edvin, @thomasnield @carlw I hope I didn't forget anybody 😉 ) I remember that we talked about D3 a while back and if we could implement such a thing, somebody just did that: https://medium.com/@hudsonb/introducing-kubed-faeb8a216a1e https://github.com/hudsonb/kubed
    👍 1
    b
    • 2
    • 1
  • e

    edvin

    02/12/2018, 8:16 AM
    So, the problem with @amanda.hinchman-dominguez's code is that she's using
    Node.cache
    without binding statements, effectively locking the contents of the cell to whatever item it was displaying first.
    a
    • 2
    • 2
  • e

    edvin

    02/13/2018, 12:26 PM
    @mariofelesdossantosjr If you really want observable properties, then yes 🙂
    m
    • 2
    • 5
  • m

    mariofelesdossantosjr

    02/14/2018, 3:43 PM
    @bkenn Did you try to map a List? I'm not getting
    b
    • 2
    • 15
  • e

    edvin

    02/15/2018, 8:30 AM
    @pike If that reusable component has any logic or calls controllers or need to participate in life cycle events, then a Fragment or a scoped View makes sense
    p
    • 2
    • 2
  • e

    edvin

    02/15/2018, 8:51 AM
    @Carlton Whitehead I'm hoping to release 1.7.15 ASAP. If you have time to look at the failing test in the coming days I'll wait with the release. If not I'll go ahead and we can look at that test later 🙂
    🎉 1
    c
    • 2
    • 1
  • w

    wineluis

    02/18/2018, 4:47 PM
    but onDoubleClick is a different thing from onMouseClicked. there are a lot of side effects which shouldnt be so obstructive to find out.
    r
    g
    • 3
    • 6
  • w

    wineluis

    02/18/2018, 4:48 PM
    btw the Observable.onChange function does the opposite. it does not replace, but add a handler/listener. thats not consistent for me.
    g
    r
    • 3
    • 2
  • e

    edvin

    02/21/2018, 5:29 PM
    @jtonic This would be step 1: http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/setting_up_environment.html
    j
    • 2
    • 4
  • e

    edvin

    02/21/2018, 5:36 PM
    @jtonic I created a quick screencast that shows how to set it up, but due to Slack storage space limitations I'm not sure if you can see it?
    🎬 2
    j
    • 2
    • 2
  • p

    poohbar

    02/22/2018, 2:34 PM
    what's the TornadoFX way to add a child to a pane after it has been already constructed? lets say I have this DSL:
    vbox {
        button {
            action {
                // call a method that adds another button to vbox
            }
        }
    }
    I guess I could pass a reference to the vbox
    this@vbox
    to the method and then use
    add(...)
    but I guess there is a more idiomatic way?
    c
    • 2
    • 2
  • r

    Romanow

    02/22/2018, 3:21 PM
    hey, can anyone point me to some examples of doing Inversion of Control with
    by inject<>()
    and regular classes (not Components)? Is there a clean way to inject non-components into components?
    c
    • 2
    • 2
  • e

    edvin

    02/24/2018, 6:24 PM
    @abhinay I'm not sure that would work, would the app name be picked up from the parameters, is that what you're saying? In any case, I think we need to add a module-info.java and add a a dependency on jaxb, as it's not part of java ee core in java 9 as I understand it (someone reported that on an issue, I haven't verified that yet)
    a
    • 2
    • 12
  • e

    edvin

    02/27/2018, 7:46 AM
    Anybody up for adding a sample to the tornadofx-samples project? 🙂
    g
    • 2
    • 5
  • m

    mariofelesdossantosjr

    02/27/2018, 2:22 PM
    @bkenn https://github.com/bkenn/JpaBootFX.git In this example, is it possible to edit the lists?
    b
    • 2
    • 1
  • p

    poohbar

    02/27/2018, 6:20 PM
    btw is there a difference between
    ObservableList<Double>
    and
    SimpleListProperty<Double>
    ?
    g
    • 2
    • 3
  • e

    edvin

    02/27/2018, 10:06 PM
    Transparency had me puzzled for a while. Can anybody verify that this is the best way to achieve a transparent windows in JavaFX? https://github.com/edvin/tornadofx/issues/651
    r
    • 2
    • 1
  • c

    carlw

    02/28/2018, 4:10 PM
    @Ruckus i wouldn't recommend using the sleep/runLater pattern if you're expecting a strict sequence. It might come out more like sleep(delay) sleep(delay) sleep(delay) runLater{ runLater{ runLater{
    r
    • 2
    • 1
  • c

    carlw

    02/28/2018, 4:14 PM
    i see a lot of developers use runLater as though it meant "runNow". maybe javafx should deprecate runLater and create a method runAWholeLaterLaterThanYouProbablyThink()
    r
    • 2
    • 3
  • e

    edvin

    03/01/2018, 9:46 PM
    And there is no "JVM slowness in general" for general applications, that's just at myth at this point 🙂
    👍 2
    ➕ 4
    k
    l
    • 3
    • 13
  • e

    edvin

    03/02/2018, 12:42 PM
    @Ruckus Merged your PR now, thank you 🙂
    👍 2
    r
    • 2
    • 3
  • e

    edvin

    03/04/2018, 7:32 AM
    Guys, I think it's time to retire the old property syntax, at least from examples. We can leave it in the framework and not even deprecate it for now, but I think we should remove all examples in the guide that use the old syntax. It's just ugly and cumbersome compared to the new syntax.
    👍 2
    n
    • 2
    • 1
  • j

    jchildress

    03/07/2018, 5:36 PM
    https://www.itworld.com/article/3261066/java/javafx-will-be-removed-from-the-java-jdk.html
    r
    a
    +2
    • 5
    • 17
  • e

    elexx

    03/08/2018, 8:13 AM
    Hi everyone. I've a problem with SortedFilteredList. I have a textfield for filtering a table, that works fine. Also while not filtering the sorting works find. However if I filter the table, then sort it (clicking a column header) and then clearing the filter-textfield, the table stays filtered. The filtered-out rows do not reappear. I created a Gist to showcase this. Maybe someone can give me a hint what I'm doing wrong here, or is this a bug with SortedFilteredList? https://gist.github.com/elexx/f87b0ee4b787b9b17fe72400894b94ff
    • 1
    • 1
  • k

    kastork

    03/08/2018, 7:21 PM
    @jamie-purchase I think all you need to do is get javafx on your classpath. There are debian and ubuntu packages for 'openjfx'. Mint probably has one too.
    j
    • 2
    • 4
  • s

    st_aeon

    03/09/2018, 3:40 PM
    How hard would android-like shared element transitions be to implement? For example, clicking on an image in some sort of a grid view would enlarge it with that cool animation and expose some additional controls
    r
    • 2
    • 2
  • p

    pike

    03/12/2018, 2:23 AM
    Trying to make a page where you can run some MySQL live
    t
    • 2
    • 1
  • e

    edvin

    03/12/2018, 7:44 AM
    I think it's perfect, considering the lack of love Oracle has shown JavaFX. Maybe we can finally make that rewrite in Kotlin :))
    👍 1
    🎉 1
    n
    • 2
    • 1
  • e

    edvin

    03/12/2018, 7:55 PM
    @thomasnield Forking JavaFX, then starting to rewrite each class to Kotlin and fix the mistakes and bad design decisions and keeping the good 🙂 Lots of classes wouldn't need a rewrite, but builders could be built directly into the components etc 🙂
    🌪️ 4
    n
    • 2
    • 1
Powered by Linen
Title
e

edvin

03/12/2018, 7:55 PM
@thomasnield Forking JavaFX, then starting to rewrite each class to Kotlin and fix the mistakes and bad design decisions and keeping the good 🙂 Lots of classes wouldn't need a rewrite, but builders could be built directly into the components etc 🙂
🌪️ 4
n

nimakro

03/13/2018, 8:51 AM
@edvin let's make it happen
View count: 2