
How do I create a visual swing designer in java ?Meaning that I can "draw" a button,a JTextArea from within my designer program . I just need some basics . I've got no idea how to start

This is not a trivial undertaking, definitely not one to be accomplished with a beginners or even intermediate working knowledge of the java language. I've been studying java for a few years now with similar objectives in mind and have not created anything useful yet. Basically it will involve reflection of the runtime object and instantiating throw away proxy objects and bean wrapper objects. The "magic" of the swing component library is more involved than it looks because a whole heaping helping of complexity if abstracted away from the end user under the surface.
This is why you haven't received an answer to your question for so long... and you still haven't. Sorry I couldn't be of more help. I'm still working on it too.
Mark