-
Help: Components!!!
I want to make an app in which the user clicks and drags the cursor across an empty frame. While the cursors is being dragged a rectangle is drawn on the frame ( a bounding box. ) When the user releases the mouse button, a JButton is added to the frame, using the parameters from the drag. I have gotten this to work, however, in the process of dragging, if there are already buttons on the frame, the drawing is choppy because the buttons are being drawn, and then the rect over it, covering up the previously drawn buttons with a background. How can i get an effect similar to dragging and dropping a button in VB but on a java frame?
-
-
hmmm... maybe i did not explain this right. I want to be able to place components onto forms ( as in design them ) in java, just like you would design a form in vb, by placing a command on one... make more sense now?
-
No, I understood perfectly well what you want.
I just wanted to know how exactly it looks when you drag and drop in VB.