See I am making a Dock and my dock items are basically JButtons
So to delete the Dock Item from my Dock i want to introduce a close button on each JButton
My query is
I want to add a Button in a JButton and at a particular location on that JButton
Eg:
JButton dockitem=new JButton("dockitem");
JButton close=new JButton("close");
Now i want to embed close in dockittem at right top corner so can anyone help me out :)

