• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Outliner Program

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
straws are for suckers. tiny ads are for attractive people.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic