Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

How to use TreeView, Node, Children to create a tree

Thread view: 
娜可露露 - 24 May 2007 07:20 GMT
Hi, everybody.

Recently, I'm trying to build a swing app on netbeans platform.

However, I'm not good at netbeans platform though I have a 7-year
experience of swing development.

I tried to look for examples about how to create a tree on side bar( :
(, I'm not sure how to describe the component on the left of the
editor, which can be hidden or shown) all over the website, but I
didn't find any,  so I come here to look for more help.

What I want is a example of building a tree.

Thanks,
Mark Space - 24 May 2007 08:56 GMT
> Hi, everybody.
>
[quoted text clipped - 6 lines]
> (, I'm not sure how to describe the component on the left of the
> editor, which can be hidden or shown) all over the website, but I

Website?  Swing?  I'm not sure but I think something here is a bit off.
Are you using Java or Javascript?

If the former, I used this to help me with the JTree class:
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
NakoRuru1982@gmail.com - 24 May 2007 09:05 GMT
>      wrote:
> > Hi, everybody.
[quoted text clipped - 12 lines]
>
> If the former, I used this to help me with the JTree class:http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

Thanks for your reply.

But I hope you read over my thread. I want to build trees on Netbeans
Platform.
Mark Space - 24 May 2007 16:40 GMT
>> Website?  Swing?  I'm not sure but I think something here is a bit off.
>>  Are you using Java or Javascript?
[quoted text clipped - 5 lines]
> But I hope you read over my thread. I want to build trees on Netbeans
> Platform.

I did read your message.  I've been working with Java for about 6 months
now, I'm using NetBeans, and I just happened to start building a JTree
with NetBeans a couple of days ago.  There's nothing to it, it's quite
easy.  You'll have to say, exactly, what it is you are having problems
with.  I can't imagine anyone with 7 years experience in Swing would
have any difficulty at all.

Maybe you're looking for something like this?

http://www.netbeans.org/kb/articles/matisse.html

Seriously, that's all there is, and I'm learning the Java AudioSystem
api along with this, and a few other things.  It's terribly easy.
Bent C Dalager - 24 May 2007 16:49 GMT
>> But I hope you read over my thread. I want to build trees on Netbeans
>> Platform.
[quoted text clipped - 4 lines]
>easy.  You'll have to say, exactly, what it is you are having problems
>with.

It seems to me he wants to add a tree to the actual NetBeans GUI
somewhere (apparantly a sidebar). If so, then what he's looking for is
probably some sort of NetBeans plugin functionality.

Cheers
    Bent D
Signature

Bent Dalager - bcd@pvv.org - http://www.pvv.org/~bcd
                                   powered by emacs

Mark Space - 24 May 2007 17:56 GMT
> It seems to me he wants to add a tree to the actual NetBeans GUI
> somewhere (apparantly a sidebar). If so, then what he's looking for is
> probably some sort of NetBeans plugin functionality.

Ok that explains the disconnect.  Technically, I did say I didn't
understand. :-)
NakoRuru1982@gmail.com - 25 May 2007 02:25 GMT
Maybe, all of you haven't heard of Netbeans platform. I must tell you
that Netbeans platform is not Netbeans IDE.

Netbeans platform is a Rich Client Application(RCA) framework. It
provides us easier way to build desktop applications.

However, I find it is hard to build a tree, and I cannot find adequate
examples about how to build trees on the web.

Anyway, thank you all the same.
NakoRuru1982@gmail.com - 25 May 2007 02:31 GMT
Maybe, all of you haven't heard of Netbeans platform. I must tell you
that Netbeans platform is not Netbeans IDE.

Netbeans platform is a Rich Client Application(RCA) framework. It
provides us easier way to build desktop applications.

However, I find it is hard to build a tree on the Netbeans platform,
and I cannot find adequate examples about how to build trees.

Anyway, thank you all the same.
NakoRuru1982@gmail.com - 25 May 2007 02:37 GMT
Maybe, all of you haven't heard of Netbeans platform. I must tell you
that Netbeans platform is not Netbeans IDE.

Netbeans platform is a Rich Client Application(RCA) framework. It
provides us easier way to build desktop applications.

However, I find it is hard to build a tree on the Netbeans platform,
and I cannot find adequate examples about how to build trees.

Anyway, thank you all the same.
ratking@ynet.com - 28 May 2007 07:23 GMT
On 5月25日, 上午9时37分, <NakoRuru1...@gmail.com> wrote:
> Maybe, all of you haven't heard of Netbeans platform. I must tell you
> that Netbeans platform is not Netbeans IDE.
[quoted text clipped - 6 lines]
>
> Anyway, thank you all the same.

To create a tree with NetBeans Platform, Your can read and learn
"NetBeans Nodes API Tutorial"
http://platform.netbeans.org/tutorials/nbm-nodesapi2.html

and there are some other "NetBeans Modules and Rich-Client
Applications Learning Trail"
http://www.netbeans.org/kb/trails/platform.html


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.