<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Show expanded tree in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786347#M783639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check following URL:&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.codeguru.com/java/articles/189.shtml"&amp;gt;Link&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2007 15:52:06 GMT</pubDate>
    <dc:creator>former_member186016</dc:creator>
    <dc:date>2007-01-02T15:52:06Z</dc:date>
    <item>
      <title>Show expanded tree</title>
      <link>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaq-p/1786344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seem to have a slight problem with showing a tree expanded. Basically what happens is when I open the panel the node i want selected seems to have actually been selected ( subclass.tree.setSelectionPath(path) ) but the tree isn't 'shown' at that expanded state meaning i can not see it's opened to that node i only know it is cause of the data shown in a table (different data is shown depending on the node selected) i can expand the tree manually but in this case I want the tree to come up directly in that state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone give me a clue as to how i should go around this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use subclass.tree.expandPath(path) and tree.expandPath(path) and i've tried calling tree.fireTreeExpanded(path) and of course tree.makeVisible(path) or subclass.tree.makeVisible(path) but nothing seems to work &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help, i just can't seem to get my head around it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 13:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaq-p/1786344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T13:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show expanded tree</title>
      <link>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786345#M783637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this Swing, AWT, SWT or webdynpro ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Dec 2006 04:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786345#M783637</guid>
      <dc:creator>former_member186016</dc:creator>
      <dc:date>2006-12-23T04:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Show expanded tree</title>
      <link>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786346#M783638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's javax.swing.JTree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know i just can't get it to visually expand the tree to that state although from the path i managed to set the node i want selected and that works ok as i've mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again for your efforts&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 07:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786346#M783638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T07:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show expanded tree</title>
      <link>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786347#M783639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check following URL:&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.codeguru.com/java/articles/189.shtml"&amp;gt;Link&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 15:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786347#M783639</guid>
      <dc:creator>former_member186016</dc:creator>
      <dc:date>2007-01-02T15:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Show expanded tree</title>
      <link>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786348#M783640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashwani thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately the selected node is not a problem (from what i can see) the path i've got seems to be correct (i print it out and check it several times in the code) and the data which should be displayed when the node is selected is displayed, the problem is that the tree is not expanded so that specific node is visible and i don't understand why since i tell it to expand to that specific path again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also (I don't know if this will help) but after i've called:  &amp;lt;b&amp;gt;tree.expandPath(path)&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I call &amp;lt;b&amp;gt;tree.isExpanded(path)&amp;lt;/b&amp;gt; the result is &amp;lt;b&amp;gt;false&amp;lt;/b&amp;gt; and I don't understand why it won't expand the tree to that path especially since the selection works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apreciate the help,&lt;/P&gt;&lt;P&gt;thanks agian for trying i'm open to all ideas you've got &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alex Stamatopoulos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 07:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/show-expanded-tree/qaa-p/1786348#M783640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T07:37:22Z</dc:date>
    </item>
  </channel>
</rss>

