Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

Hi all friends, I have a problem regarding GUI in java.I want to drag a button and drop it on a frame but all my efforts are uselesss. can anyone helps me?

OpenStudy (anonymous):

try netbean

OpenStudy (anonymous):

no!I need to add a button to a panel and then add a listener for dragging and dropping this button on my frame...my problem is how to write the listener...

OpenStudy (anonymous):

You mean the listener for the "new" dragged button?

OpenStudy (anonymous):

Is this a normal action listener, and what must it do?

OpenStudy (anonymous):

there are some components on the left side of my frame,what I should do is to drag these components and drop them on the other side of the frame.I don't know how I can manage it...thanks for your attention

OpenStudy (anonymous):

You could try Qt Jambi for GUI programming -- in Java's case. ( http://qt-jambi.org/) Their signal/slot mechanism is much easier to grasp than all those listeners you'd otherwise have to deal with. =)

OpenStudy (anonymous):

thanks =)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!