* Question on JavaFX in Kawa @ 2018-10-30 16:08 Arie van Wingerden 2018-10-30 18:49 ` Per Bothner 0 siblings, 1 reply; 3+ messages in thread From: Arie van Wingerden @ 2018-10-30 16:08 UTC (permalink / raw) To: kawa Hi, the example from here https://per.bothner.com/blog/2011/JavaFX-using-Kawa-intro/ is working OK. In the example I see a nice and simple declarative example. Are there more examples showing how to access UI elements programmatically. What I mean is e.g. change contents of a NAMED listbox when some button is clicked. TIA .Arie ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on JavaFX in Kawa 2018-10-30 16:08 Question on JavaFX in Kawa Arie van Wingerden @ 2018-10-30 18:49 ` Per Bothner 2018-10-30 19:00 ` Arie van Wingerden 0 siblings, 1 reply; 3+ messages in thread From: Per Bothner @ 2018-10-30 18:49 UTC (permalink / raw) To: Arie van Wingerden, kawa On 10/30/18 9:07 AM, Arie van Wingerden wrote: > Are there more examples showing how to access UI elements programmatically. > > What I mean is e.g. change contents of a NAMED listbox when some button is > clicked. Have you looked at the animation example: https://per.bothner.com/blog/2011/JavaFX-using-Kawa-animation/ That might give you some ideas. Instead of properties of rect being changed using animation, you could have properties of the listbox changed by the event handler. -- --Per Bothner per@bothner.com http://per.bothner.com/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on JavaFX in Kawa 2018-10-30 18:49 ` Per Bothner @ 2018-10-30 19:00 ` Arie van Wingerden 0 siblings, 0 replies; 3+ messages in thread From: Arie van Wingerden @ 2018-10-30 19:00 UTC (permalink / raw) To: Per Bothner; +Cc: kawa Thanks, I'll check it out! Op di 30 okt. 2018 19:48 schreef Per Bothner <per@bothner.com>: > On 10/30/18 9:07 AM, Arie van Wingerden wrote: > > > Are there more examples showing how to access UI elements > programmatically. > > > > What I mean is e.g. change contents of a NAMED listbox when some button > is > > clicked. > > Have you looked at the animation example: > > https://per.bothner.com/blog/2011/JavaFX-using-Kawa-animation/ > > That might give you some ideas. Instead of properties of rect being > changed > using animation, you could have properties of the listbox changed > by the event handler. > -- > --Per Bothner > per@bothner.com http://per.bothner.com/ > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-30 19:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-10-30 16:08 Question on JavaFX in Kawa Arie van Wingerden 2018-10-30 18:49 ` Per Bothner 2018-10-30 19:00 ` Arie van Wingerden
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).