Courses
Java
Home
Corporate
Consulting
Contact Us
Courses
Jobs
Custom Topics

Customize this course,
choose your topics

Building Your Course
Custom Order Page
Building Guidelines

Selectable Topics
Advanced Applets
Advanced AWT
Collections
CORBA
Custom Components
Drag'n Drop
Enterprise JavaBeans
Event Delegation
GridbagLayout
InfoBus
Inner Classes
Internationalization
Java 2 Overview
JavaBeans
JFC Overview
JSP (Java Server Pages)
JSP Tag Libraries (taglib)
JDBC
JNI
RMI
Security
Serialization
Servlets
Struts
Swing
WebServices Overview
XML

Drag and Drop

Drag and drop is an essential user interface metaphor that most modern applications support. The java.awt.dnd package (a new package added in Java 2) provides the essential elements for enabling your user interfaces to support drag and drop.

This module will present the basics of drag and drop. We'll learn about drag sources, and drop targets. We'll also learn about drag gestures, drap recognizers, and various event and listener classes.

Objectives

  • Learn the basics of drag and drop. Utilitize the following
    • Drag Sources
    • Drop Targets
    • Drag Gestures
    • DragSourceEvent and DragSourceDropEvent
    • DropTargetDragEvent and DropTargetDropEvent
    • AutoScrolling
    • DropTargetListeners

Specifications

  • Duration (total): 1.75 hours - 2.25 hours
  • Duration of Exercises: 1 hour - 1.25 hours
  • Duration of Lecture: 45 minutes - 1 hour

Pre-requisites

If you are building a custom course, you will need to cover these topics before this topic can be presented:

  • Since "Drag and Drop" uses DataFlavors, a working knowledge of the java.awt.datatransfer package, as covered in Advanced Java 1.1 AWT section is required.
In addition, material covered in this section requires attendees to know the following:
  • Basic Java knowledge including exception handling, threads, applets, full use of all the language constructs, and familiarity with the core Java 1.1 APIs.
  • Those without these pre-requisites should consider one of our Ultimate Java Programming Workshops.

A table of contents of this module is available upon request.

Return to the Custom Order Page.

Copyright ©2007 by Petronio Technology Group, Inc. All rights reserved. Petronio, "Targeted Technology Training", "T3" and "Turning new technologies into your competitive advantage" are trademarks of Petronio Technology Group. All other trademarks are the properties of their respective companies.