1. Java (Swing) - Drag two windows at once stackoverflow.comHow can I have one window move with another? i.e., I'd like a JDialog to follow a JFrame when the JFrame is being dragged. If the JFrame moves by ... |
2. java/swing: drag and drop problems with two child windows stackoverflow.comI have two child windows that I want to accept drops from drag+drop objects in two different ways. One is a JPanel that I want to accept a list of files. It ... |
3. Drag And Drop from Java Swing Application to Windows Explorer stackoverflow.comI have question about Drag And Drop in Java. I was able to to implement drag and drop files from Windows Explorer to Swing application. Now I need to oposite direction. I have JTable ... |
4. drag and drop pics works under windows,mac but not linux coderanch.comso I have this program which sets a default pic for a users profile. The user is suppose to be able to drag and drop a pic to that spot and the new pic will show up within the program. I am writing this app in linux(ubuntu) and for whatever reason when i drag and drop a pic it simply produces ... |
5. DnD from Swing to Windows? coderanch.comI have an FTP style app. I implemented the ability to drag files from the ftp window to the desktop. The code looks something like: private class FileTransferable implements Transferable { //constructors and stuff public DataFlavor[] getTransferDataFlavors() { return new DataFlavor[] { DataFlavor.javaFileListFlavor}; } public boolean isDataFlavorSupported(DataFlavor flavor) { return flavor.equals(DataFlavor.javaFileListFlavor); } public synchronized Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException { ... |