Drag « JTextField « Java Swing Q&A





1. Is it possible to have "movable"/"draggable" components like JButtons, JTextFields in a JFrame?    stackoverflow.com

Basically I plan to place some buttons, textfields, labels, etc. on a JFrame and I would like to make it possible that a user can move the different components around on ...

2. swing JTextfield DnD replace the existing text with the import test    stackoverflow.com

i have two text field that i can drad and drop the text between them. but i want that every time i drag the text it will replace the existing text data ...

3. Drag and drop a textbox.    coderanch.com

I don't think you need to get the BDK... all Swing components are JavaBean components already... you just need to somehow make Word think they are ActiveX components when they are dropped in. I searched for "JavaBeans ActiveX bridge" and found this link... which looks like it worked in JDK 1.1 through 1.3.1 and they are updating it in JDK 1.4.2. ...

4. Is it possible to drag & drop an item from applet to text field outside of the applet    coderanch.com

Does anyone know that? Also, my current project is implemented in plain HTML web pages, but now I received requirement to have a place in the web page to store the last 10 records user entered(for example, last 10 phone #, last 10 address, .. etc.). I am thinking of using an applet on each web page to store those 10 ...

5. Drag text field on label and set label's text in textfield    coderanch.com

Hi All, I am developing one swing application in which user can drag blank text field on some label with text. e.g. Suppose label has text "Capture text here" . When user drag text field and put on label above word "Capture" then text field's value should be set "Capture". I have code already to drag text field but not getting ...