title: Make a simple GUI editor in Java Swing using Swing components
body: <p>I'm currently working on a project in which I need a very simple editor for GUI-like objects. This editor would be a canvas on which well known GUI widgets can be placed. For example one can place a button and a textfield on there, move them around and resize them. No interaction with the widgets themselves is needed.</p>
  
  <p>I've been trying to accomplish this by adapting a very simple paint tutorial, I thought it would be easy to implement it this way, yet I bump into many problems with drawing custom shapes and text on a canvas and dragging and dropping those shapes.</p>
  
  <p>I was wondering if I could reuse real Swing widgets on a JPanel and let the user place, move  around and resize them. If so, what are the things I should look into?</p>
  
  <p>I know this might seem very little information but I'm honestly stuck in searching for a solution.</p>