# Drag and drop from tag browse tree to power table

**URL:** <https://forum.inductiveautomation.com/t/drag-and-drop-from-tag-browse-tree-to-power-table/15260>\
**Category:** Ignition\
**Created:** [September 6, 2017, 12:50pm UTC](https://forum.inductiveautomation.com/t/drag-and-drop-from-tag-browse-tree-to-power-table/15260 "2017-09-06T12:50:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 12, 2018, 4:12pm UTC](https://forum.inductiveautomation.com/t/drag-and-drop-from-tag-browse-tree-to-power-table/15260/3 "2018-01-12T16:12:53Z")

</div>

Here’s a sample window I came up with a while back. Note that is pretty low-level Java Swing stuff - so you’re on your own merits to figure out how it all works. Also, don’t even try and call into support about this.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/db84dda2cb9329ba9e25f7b6b3f38b94ae9a0812.png)  
[Power Table Tags Dropped.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/70c831f665ee8ad4a4167c49a595750bf5859a8b.proj) (19.9 KB)

For a _brief_ explanation: The `initialize()` function of the power table fires the `addListener()` custom method, which creates an instance of a custom [`DropTargetListener`](https://docs.oracle.com/javase/7/docs/api/java/awt/dnd/DropTargetListener.html). That custom `DropTargetListener` has an overridden `drop()` function, which actually handles the incoming data.

---

_[View the full topic](https://forum.inductiveautomation.com/t/drag-and-drop-from-tag-browse-tree-to-power-table/15260)._
