for(int i=3;i<10;i++){
arr[i]=new DnDSlotAction(jmeDesktop, null);
}
pan.setSlots(arr);
pan.validate();
internalFrame.add(pan);
internalFrame.setVisible(true);
internalFrame.pack();
internalFrame.setLocation(desktopPane.getWidth()-internalFrame.getWidth(),desktopPane.getHeight()-internalFrame.getHeight());