Java Label design and print

I’m creating a java application to visually design products labels to be printed.
I want to have right panel for the visual design and left panel contains the elements ( text item, logo, separator, (and product columns list from the DB))
and I want to drag from the left panel to the right panel to form the label design and then print it for all the products in the DB.
Also I will be saving some properties in the database like label margins, width, weight in millimeters and I want to apply it with the printed labels.

Is this doable in Java SE using Netbeans? And How?

Thanks in Advance,