Drag and Drop

Ken Webb 2010-06-13T19:09:44Z

I've started adding drag and drop capabilities to Xholon.

An Example

Here's a simple example.

<JFrame Title="A simple GUI">
 <JPanel PreferredSize="Dimension,200,200" Background="BLACK">
   <JButton Text="Pluto" ToolTipText="This is a Plutonian button." ActionCommand="onToPluto"/>


You can drag any number of items to the Chameleon node. They will all become children of Chameleon. You can also drag the XML text to a text editor, edit it, and then drag the edited text to the Chameleon node. And, you can always use copy and paste instead of drag and drop.

return to main page