文件名称:Javadrawanddrop
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-05-28
- 文件大小:
- 21kb
- 下载次数:
- 0次
- 提 供 者:
- jpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Java鼠标拖放功能的实现源码,之前一个Java例子是使用系统剪贴板来交换程序间的数据,本例将利用鼠标的拖放来交换程序的数据,即所谓的鼠标拖放功能。Java 提供了java.awt.dnd 和java.awt.datatransfer 包来支持该功能。如效果截图所示。当在窗口上部的“Hello World1标签点下鼠标,并拖至窗口下部的文本框放开,则在文本框中将添加“Hello World 1文本;继续上述过程,将继续添加该文本。-Java mouse to drag and drop functionality to achieve source, before a Java example is using the system clipboard to exchange data between programs, will use the mouse to drag and drop data exchange program of the cases, the so-called drag and drop functionality. Java provides java.awt.dnd and java.awt.datatransfer package to support this feature. If the result is shown in the screenshot. When the top of the window, "Hello World1 label under the mouse, and drag the text box to the lower part of the window open, then in the text box to add the" Hello World 1 text continue this process and will continue to add the text.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Java鼠标拖放的实现\JDRAGANDDROPDEMO\BAK\JDRAGANDDROPDEMO\DRAGJLABEL.JAVA~1~
..................\................\...\................\DRAGJLABEL.JAVA~2~
..................\................\...\................\JDRAGANDDROPDEMO.JAVA~1~
..................\................\...\................\MAINFRAME.JAVA~1~
..................\................\...\................\MAINFRAME.JAVA~2~
..................\................\...\................\MAINFRAME.JAVA~3~
..................\................\...\................\MAINFRAME.JAVA~4~
..................\................\...\................\MAINFRAME.JAVA~5~
..................\................\...\................\MAINFRAME.JAVA~6~
..................\................\CLASSES\JDRAGANDDROPDEMO\DRAGJLABEL.CLASS
..................\................\.......\................\JDRAGANDDROPDEMO.CLASS
..................\................\.......\................\MAINFRAME.CLASS
..................\................\.......\PACKAGE CACHE\JDRAGANDDROPDEMO.DEP2
..................\................\JDRAGANDDROPDEMO.HTML
..................\................\JDRAGANDDROPDEMO.JPX
..................\................\JDRAGANDDROPDEMO.JPX.LOCAL
..................\................\JDRAGANDDROPDEMO.JPX.LOCAL~
..................\................\JDRAGANDDROPDEMO.JPX~
..................\................\SRC\JDRAGANDDROPDEMO\DRAGJLABEL.JAVA
..................\................\...\................\JDRAGANDDROPDEMO.JAVA
..................\................\...\................\MAINFRAME.JAVA
..................\................\BAK\JDRAGANDDROPDEMO
..................\................\CLASSES\JDRAGANDDROPDEMO
..................\................\.......\PACKAGE CACHE
..................\................\SRC\JDRAGANDDROPDEMO
..................\................\BAK
..................\................\CLASSES
..................\................\SRC
..................\JDRAGANDDROPDEMO
Java鼠标拖放的实现