Mailing list - Entries of 2005

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Checking a JTree structure

  • Subject: Re: [qftestJUI] Checking a JTree structure
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Tue, 01 Feb 2005 14:43:05 -0000


the "Check items" node indeed treats the tree as a list and can't be
used to check the structure as well. I'm afraid you'll have to check
individual tree-nodes in that case.

If there are many nodes you may be able to combine the two, first
checking the items and then a few individual nodes to verify the

Best regards,

Intellisys <maillist@?.com> writes:

> Hi,
> The "check all nodes" option for a JTree appears to check only the number and
> order of the items in the JTree. I need to check the tree structure as well.
> For example, the two trees below:
> a
> --b
> ----c
> a
> --b
> --c
> The "check all nodes" option reports these two trees to be the same. Is there
> a way to also check the tree structure?
> Best,
> -sc.
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876