• Post Reply Bookmark Topic Watch Topic
  • New Topic

Outliner Program

 
Karen Baog
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I posted a question about Outliner to the Beginner's site, but thought that it probably is more approprite to this as it involves gui.

I've looked at the JTree class to get a feel of it.

My aim is to create a simple (sr so it seems) Outliner program.

If I use a JTree type object, I'm at a loss of how the user can input text on each node and, once the user hits the 'enter' key, another node is created.

If the user decides not to enter any text to the newly created node (points and clicks the mouse womewhere else) the newly ceated node is destroyed.

Also, for every newly created node with text, a JTextArea object, can be used to enter additional notes that is linked to the node that is current.

Anyone has a code or can point me to links showing the basics of an Outliner program? I'm not after a complicated one. Just a bare-bones version to help me understand the insides of it.
 
Karen Baog
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, anyone?

I'm completely lost on this.

I've seen an OmniOutliner, but have no clue what components to use.
Where the user can type in the "entry title" is it the equivalent of a stringgrid of Borland C++?

And there is also some kind of a JTextArea object located at the bottom of the screen, where the user can enter details related to the selected entry title. As soon as the user enters something (even just a character) in the JTextArea object, an icon appears next to the entry title.

For thosw whose seen an Outliner I'm sure you know what I'm getting at here.

Then, also be able to save it, so it can be reloaded again. And also exporting it (like into HTML).

Please, please, please.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!