Skip to content

Tree Example -- Beware #5

@jlpoolen

Description

@jlpoolen

The tree example in Accelerator.java and Accelerator.xml is not a real tree. The only XML tag (ommitted lessthan and greaterthan tags in order to display here) is:

scrollPane background="blue"
tree name="tree"
scrollPane

Yet, what you see is a tree with several nodes. I recall running into this phantom tree before and learning that something in Java will default to the appearance of a tree when, in fact, there is nothing there --- sort of a default "demo" mode. Of course, there is nothing that warns you that this is taking place.

As far as I can tell, Swixml/Two, does not have tags for children structures of a tree so you really cannot construct a tree using XML unless you make the effort to create custom tags &etc. Maybe someone will correct my assessment here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions