I have a java GUI written in netbeans. How can make it that when I drag a file to a jbutton I can store the file name in a global variable?
Printable View
I have a java GUI written in netbeans. How can make it that when I drag a file to a jbutton I can store the file name in a global variable?
not sure if this applies to you but here try this:
http://java.sun.com/docs/books/tutor...dnd/intro.html