Solved

Is there drag and drop before JDK1.2

Posted on 1998-06-15
2
295 Views
Last Modified: 2012-06-22
I'd like to know if there is a drag and drop API that I can use (no JDK1.2). I don't know if swing provides it and that's basically what I need to know. Does it? (I just want to use drag and drop in the same app, no need to provide support for drag and drop across apps)
0
Comment
Question by:prg022698
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:prg022698
ID: 1223155
Edited text of question
0
 
LVL 5

Accepted Solution

by:
fontaine earned 50 total points
ID: 1223156
No, it doesn't. The current way to emulate the same effect is to first click what has to be
dragged and place the component where the user next clicks. This is what is done in the
beanbox of the Bean Development Kit of SUN. If I remember well, in JDK 1.2, Swing and
the Drag & Drop API are even not defined in the same package: the D&D api will be in
java.awt.dnd
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Opening PDF on button click and fill new document 2 54
hibernate example using maven 12 82
Which non-HTML GUI front end to use with Java? 3 52
Bot application - advice 3 64
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question