SWT « Drag Drop « Java Swing Q&A





1. introduction to swt with out drag and drop designer?    stackoverflow.com

I'm interested in writing a small Java application using SWT. I'm a blind individual though so can't use the tipical drag and drop controls in an IDE approach. Pointers to an ...

4. Is Swt how can i calculate the drop in DND action    coderanch.com

hi all im trying to make simple DND operation , dragging button from one side to composite now the DND is working great , but when i drop the button its always to fixed location in the composite control , i want to be able to drop it depending on where i drop the button that is any where in the ...

5. Dragging a file from swt to windows file system    coderanch.com

Hi, We have a application where we display a list of files in SWT widget. We need to add one functionality to drag and drop from the file system to SWT and vice versa. Drag drop from file system to SWT we have already implemented. But i am not sure how to implement the other part. Dragging a file out of ...

6. Display the text in SWT Combo Drop Down depending on the Combo width    coderanch.com

I have a SWT Combo. If the length of text entered is more than the combo width then the Combo Drop Down takes the max of text length. Is there a way to control the Combo drop down width. Here is the code: import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; /** */ public class Test { ...