Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28730

JFX TabPane bug?

From Michael Jung <miju@golem.phantasia.org>
Newsgroups comp.lang.java.programmer
Subject JFX TabPane bug?
Date 2014-06-14 19:45 +0200
Organization albasani.net
Message-ID <87d2ebs7ue.fsf@golem.phantasia.org> (permalink)

Show all headers | View raw


Before going through all the hassle with registering in JFX/Jira to
report this, I'd like to ask for your opinion. I am using JFX8 and have
a construct as follows:

VBox(instance vbox)->TabPane->Tab->TextField(fx:id="bla").

when I do a vbox.lookup("#bla"), I get null. When cascading this
differently - not through a TabPane -, the lookup succeeds. While
playing around, and reading the documentation carefully, I presume this
is due to the fact that "TabPane->Tab->" does not go through the
children list, thereby interrupting the tree search. From a consistency
point (documentation vs reality) this is probably correct, but it can
hardly be intended. This way, large parts of widget trees become
invisible for a lookup, at least as far as the usual queries go.

Sorry for not providing an SSCCE, I believe it to be easy to create, but
the JFX boiler plate code isn't all that interesting.

Any comments?

Michael

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

JFX TabPane bug? Michael Jung <miju@golem.phantasia.org> - 2014-06-14 19:45 +0200
  Re: JFX TabPane bug? Robert Klemme <shortcutter@googlemail.com> - 2014-06-14 21:33 +0200

csiph-web