drag framework

P

peter

Dear All
I want to let the user able to drag and move a component on the
JFrame. Which framework I can do this easily?

For example, in eclipse visual editor/jigloo, user are able to
move the component on screen, how to do it? Any framework?

FORGIVE MY BAD ENGLISH :(

thanks
from Peter ([email protected])
 
J

John B. Matthews

peter said:
I want to let the user able to drag and move a component on the
JFrame.

This is rather broad topic; it might help to know what you're trying to
model. What are the components? How are they related? Is this a GUI
designer? Physical simulation? UML editor?
[In] which framework I can do this easily?

Perhaps JDesktopPane & JInternalFrame might be useful, either directly
or as a model for managing internal components:

<http://java.sun.com/javase/6/docs/api/javax/swing/JDesktopPane.html>
<http://java.sun.com/javase/6/docs/api/javax/swing/JInternalFrame.html>
<http://java.sun.com/docs/books/tutorial/uiswing/components/
internalframe.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top