wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Adding JComponents to Canvas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Adding JComponents to Canvas" Watch "Adding JComponents to Canvas" New topic

Adding JComponents to Canvas

Lex Powers

Joined: Dec 07, 2006
Posts: 1

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.


wood burning stoves
subject: Adding JComponents to Canvas
Similar Threads
Jcomponent in JTable cells
Is it possible to use Screen and Canvas together?
Java Image
how to move a string
how to make Canvas transparent ?