JFX TabPane bug?

Discussion in 'Java' started by Michael Jung, Jun 14, 2014.

  1. Michael Jung

    Michael Jung Guest

    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
     
    Michael Jung, Jun 14, 2014
    #1
    1. Advertisements

  2. On 14.06.2014 19:45, Michael Jung wrote:

    > 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.


    The idea of the SSCCE is it to make it easier for others to increase the
    likelihood that you get help. Plus, we cannot know what you consider
    "boiler plate" so anything we might come up with ourselves might be
    different than what you have.

    http://www.sscce.org/#bother

    Cheers

    robert
     
    Robert Klemme, Jun 14, 2014
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. John

    Re: BUG? OR NOT A BUG?

    John, Sep 20, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    897
  2. RedEye
    Replies:
    2
    Views:
    831
    Jason Kester
    Dec 13, 2005
  3. Michel Joly de Lotbiniere

    Bug Parade Bug 4953793

    Michel Joly de Lotbiniere, Nov 30, 2003, in forum: Java
    Replies:
    4
    Views:
    945
    Michel
    Dec 2, 2003
  4. DarkSpy
    Replies:
    4
    Views:
    1,181
    tom_usenet
    Jun 27, 2003
  5. Steve Holden
    Replies:
    1
    Views:
    706
    Behrang Dadsetan
    Jul 2, 2003
  6. Chris Green
    Replies:
    2
    Views:
    624
    Michael Schutte
    Dec 18, 2003
  7. Alan G Isaac
    Replies:
    3
    Views:
    426
    Terry Reedy
    Jul 30, 2004
  8. ali
    Replies:
    1
    Views:
    456
    SadRed
    Jul 29, 2007
Loading...