Patch q	= library.GetSelectedPatch();
Patch q	= library.getSelectedPatch();
		public void actionPerformed(ActionEvent e) {		    try {			PatchBasket library=(PatchBasket)JSLDesktop.getSelectedFrame();			Patch q	= library.GetSelectedPatch();			uploadPatch(q);		    }catch (Exception ex){JOptionPane.showMessageDialog(null, "Patch Must be Focused","Error", JOptionPane.ERROR_MESSAGE);}		}});