Trying to input Draggable boxes

Hi.
I'm working on a project for school, the requirements are that we must have at least 10 classes and implement the usual stuff like inheritence, overriding, ...
I wanted to do something special, so I'm working on a visual drag'n drop program for sounds. So you can specify the frequency and duration of a tone, and add the specific block to a channel. A channel is something I created so blocks don't have to overlap. A channel is actually just an additional of blocks beneath the other one. The amount of channels is unlimited, so is the length of a Channel. Channels will be played simultaneously. Now comes the problem..

I have a class named 'SynthesizedPanel', which contains the starting time, duration and frequency of this tone. It is a part of my Channel class. (= arraylist)
I wanted to represent a synthblock visually, so I made another class: SynthBlock. This is the actual block, who calculates his own position etc.

Re: Trying to input Draggable boxes

You probably won't get an answer as your problem decription is too inaccurate and your code is in an external link. Describe your problem and post only the code of the concerned section please.

Excuse me, let me explain it: I have a JPanel child where I draw some stuff onto. This custom JPanel has a NULL layout and contains so called 'boxes'; smaller JPanels. The position of these JPanels is automatically calculated by the method updateInfo() in those boxes. Now, I would like to make these boxes draggable. But I can't get it to work tough..