This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding JComponents to Canvas

 
Lex Powers
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to write a small app in Swing/AWT that requires the use of an interactive canvas. It is for building trees with complex relationships. Mostly what I am looking for is the best method for approaching this. I would like to be able to use JComponents to represent tree nodes to leverage action listeners, but components can only be added to a strict layout. I need something that I can add to the canvas and move around on the X/Y axis freely.

Thanks,

Lex
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic