By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,798 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,798 IT Pros & Developers. It's quick & easy.

Drag & drop GUI

P: n/a
Hi all,

I'm looking to develop a drag and drop gui for an application i'm
writing and although pretty familiar with the java language/awt this
is the first time i've needed to use this style of gui and i'm not
sure exactly which classes i should use as the basis for the program.

I would like a gui where a user can select one of a number of 'blocks'
(fixed size images representing data objects) that can be selected
from a menu, dropped onto a blank 'canvas' area of the interface and
then 'connected' to each other (the connections being represented
graphically but also in the data structure).

Each block must then respond to events-such as clicking on each unit
would open a window that would allow the data object parameters to be
displayed and edited, dragging the blocks around the area to
reposition them etc.

This type of interface would be familiar to anyone who has used any of
the popular modular 'software synthesizers' that are currently
available.

Can anyone give any advice as to the best classes to extend to allow
this type of functionality and any problems i might encounter.

cheers

P@
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.