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
  • e

    edvin

    06/27/2017, 7:09 AM
    @carlw That error you got was actually also due to a change in IDEA metadata, specifying the wrong path for the build. I will commit a fix soon.
    k
    • 2
    • 2
  • e

    edvin

    07/02/2017, 2:10 PM
    @thomasnield You could always use nv3d or something if you need more options. I've been wanting to add a TornadoFX frontend to it, typesafe creation of JavaScript charts, and rendering into a custom component which is basically a webview, as well as the option to render static images. That would be a fun project!
    k
    • 2
    • 2
  • e

    edvin

    07/16/2017, 8:08 AM
    @napperley I'm pretty sure that would work 🙂 Let us know if you try!
    n
    • 2
    • 10
  • e

    edvin

    07/18/2017, 6:24 AM
    I just got the email! Very excited! 🎉🎉
    🎉 7
    r
    • 2
    • 6
  • p

    permalmberg

    07/18/2017, 3:25 PM
    Javaone? That'd be something
    :kotlin: 2
    🌪️ 2
    :kotlin-flag: 1
    m
    e
    • 3
    • 4
  • e

    edvin

    07/20/2017, 9:14 AM
    @pim Hi 🙂 Can you post a complete sample with your 'MyObject' and sample data?
    p
    • 2
    • 14
  • e

    edvin

    07/21/2017, 9:50 AM
    @Ruckus There is an animation question on SO - not my forte 🙂 Do you know? https://stackoverflow.com/questions/45233063/consecutive-animation-in-tornadofx
    r
    • 2
    • 1
  • e

    edvin

    07/22/2017, 7:25 AM
    @napperley Yeah, you can only bootstrap a single JavaFX App in a single JVM. This is a JavaFX thing, but I did create a workaround for this in our OSGi support. It might be possible to use the same trick for the REPL.
    n
    • 2
    • 7
  • e

    edvin

    07/22/2017, 5:18 PM
    Very nice @Ruckus - just want to stress that if you're doing a one off, you don't need to go all the way with the builder of course. If we created a "how to use GMap in TornadoFX" this could be an optional step 🙂
    n
    • 2
    • 5
  • e

    edvin

    07/22/2017, 7:23 PM
    Does anybody have a working Gradle config for JitPack? Maybe we should add that to the README for the project.
    k
    p
    • 3
    • 2
  • c

    carlw

    07/22/2017, 11:47 PM
    found something...but ext.tornadofx_version = '1.5.9' 🙀
    🙈 2
    🎉 1
    n
    • 2
    • 1
  • e

    edvin

    07/23/2017, 9:31 PM
    @nimakro Anything SortedFilteredList could help me? Or is there anything else we could do with the framework to help your use case?
    n
    • 2
    • 3
  • e

    edvin

    07/24/2017, 3:22 PM
    @pim I still don't understand why you need the focusedProperty to fire for the datagrid?
    p
    c
    • 3
    • 37
  • c

    carlw

    07/25/2017, 9:06 PM
    @pike This is a good non-Kotlin summary of the technique https://fxdocs.github.io/docs/index.html#_tasks
    👍 1
    p
    • 2
    • 1
  • m

    mp

    07/27/2017, 9:38 AM
    hello did anyone implement WebScoket client on Java? What library can recommend
    n
    • 2
    • 1
  • n

    nimakro

    07/29/2017, 6:33 PM
    @eddy_wm There is also a library from jetbrains https://github.com/JetBrains/Exposed
  • e

    edvin

    07/29/2017, 7:43 PM
    I finally figured out why I've been having issues with SimpleListProperty mappings in ViewModel. It turns out that they return a hashCode value calculated from the contents of the list, so if anything was changed in the list, the correct facade couldn't be identified anymore.
    👍 1
  • h

    hoang

    08/01/2017, 9:56 AM
    I tried both
    Run
    , and
    Debug
    , with the default app generated by IDEA and it does not reflect changes like label text changed
    m
    • 2
    • 11
  • e

    edvin

    08/01/2017, 1:13 PM
    Maybe
    toProperty
    is not the best word for it.. Any suggestions?
    n
    • 2
    • 3
  • r

    Ruckus

    08/01/2017, 4:15 PM
    (
    replace
    is optional, but you should keep the
    trim
    so CSS doesn't panic about the placement of the final
    ;
    )
    n
    • 2
    • 1
  • n

    nimakro

    08/02/2017, 11:04 AM
    @Ruckus I have another Css question, I see that you defined
    baseColor
    in
    PropertyHolder
    I would like to use some other properties defined in the default Stylesheet from JavaFx like
    -fx-inner-border
    but I can't use
    cssprop
    . So how would I define some properties in my own Type-Safe-Css class referencing the default stylesheet (Modena)? Or do we just have to add all of the root variables from the stylesheet in
    PropertyHolder
    if so I would be happy to sent a PR.
    r
    • 2
    • 10
  • r

    ron

    08/02/2017, 8:10 PM
    It has to be C++ as it runs on a machine
    r
    e
    +2
    • 5
    • 10
  • e

    edvin

    08/04/2017, 6:43 AM
    @Ruckus In
    gradientsWithErrorColor
    , there is a font definition:
    font = Font.font(14.0)
    . This renders like
    -fx-font: normal 14.0px "System"
    but the test wanted it to be
    -fx-font: normal 14.0pt "System"
    . The differens is px vs pt. Is it supposed to render as
    pt
    ? I've changed it now to make the test pass in the meantime.
    r
    • 2
    • 1
  • e

    edvin

    08/04/2017, 11:15 AM
    @pim The type information of an object is only visible in the local scope. From outside it can only be identified as its super type,
    ViewModel
    in this case
    r
    • 2
    • 3
  • e

    edvin

    08/04/2017, 1:07 PM
    @voddan Did you have lots of Kotlin files in the project that was bogged down by the plugin?
    v
    • 2
    • 1
  • e

    edvin

    08/07/2017, 3:41 PM
    @harshmaur That's easy, you just
    add(SomeViewOrFragment::class)
    to it at any time 🙂
    h
    • 2
    • 1
  • r

    ron

    08/08/2017, 7:14 AM
    and apart from that with all the boilerplate nicely abstracted away and tornadofx having full support for CSS, why bother at all with bringing in javascript?
    h
    • 2
    • 1
  • j

    jchildress

    08/08/2017, 7:08 PM
    @pim Awesome... I'll try it out real quick...
    p
    • 2
    • 3
  • e

    edvin

    08/11/2017, 2:51 PM
    For anyone interested, the second prototype for the PCB seems to be flawless, I'm typing on the TornadoKeyboard now, and the instability issues I had in the first release (due to a faulty crystal footprint in my cad package) are now completely gone.
    r
    • 2
    • 58
  • e

    edvin

    08/14/2017, 2:21 PM
    @thomasnield I need to create a couple of videos for the course today, but I'll try to add the file feature to FXLauncher tomorrow 🙂
    👍 2
    n
    • 2
    • 4
Powered by Linen
Title
e

edvin

08/14/2017, 2:21 PM
@thomasnield I need to create a couple of videos for the course today, but I'll try to add the file feature to FXLauncher tomorrow 🙂
👍 2
n

nimakro

08/14/2017, 5:10 PM
Nice I will have a use case for that too 😉
e

edvin

08/14/2017, 5:11 PM
@nimakro Great! I just got one myself as well actually. This is a nice way of distributing in house software.
🎉 1
n

nimakro

08/14/2017, 5:13 PM
@edvin Yes that's exactly my use case.. I wrote an tornadoFx app for our support staff and this is a perfect way to distribute the software...
e

edvin

08/14/2017, 5:14 PM
I'll just wait until @thomasnield has had a chance to check it out, then I'll release it!
View count: 2