• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internal Frame Manager

Paul Tilley
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - I'm fairly new to Java and Swing and hope someone can guide me in the right direction over a GUI I'm designing at the moment.

I'm looking for a variation on an internal frame manager. Effectively I'm after finding/designing a layout manager that offers the functionality you find in (say) a simple drawing program.

I want to be able to add components (for example a frame containing an icon and some text) into a workspace - move them about the space by dragging them and generate events by selection, double-clicking etc

I'd want to indicate whether the object is selected by drawing "grab bars" around their bounding box etc - allow for multiple object selection (for multiple deletes etc...)

Addtionally I'd be looking to connect one "component" to another by means of routable connecting lines etc.

I guess if you imagine a drawing app like a UML class diagram editor - where you want to add different classes to the workspace - connect them to each other etc - this is the type of functionality I want to achieve.

So - are there any class libraries out there designed to support this type of activity ? Or are there tried and trusted methods of sub-classing from existing Swing classes to achieve this ? Or is it sleeves-rolled up and roll your own approach. If the latter - where would I start ???

Thanks for listening - I've lurked around the site for quite some time and learnt a lot passively - hope someone can suggest some pointers now I've actively posted ...

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic