final JDesktopPane desktopPane = jmeDesktop.getJDesktop();
final JInternalFrame internalFrame = new TransparentInternalFrame();
final ShortCutPanel pan = new ShortCutPanel();
ActionButton[] arr = new ActionButton[10];
arr[0]=new DnDSlotAction(jmeDesktop, ActionManager.getInstance().getAction(2));
arr[1]=new DnDSlotAction(jmeDesktop, ActionManager.getInstance().getAction(10002));
arr[2]=new DnDSlotAction(jmeDesktop, ActionManager.getInstance().getAction(5));
for(int i=3;i<10;i++){
arr[i]=new DnDSlotAction(jmeDesktop, null);
}
pan.setSlots(arr);
pan.validate();