Problem with button addition when double clicking a command label

Posted by mistique on Stack Overflow See other posts from Stack Overflow or by mistique
Published on 2010-04-18T22:40:33Z Indexed on 2010/04/18 22:43 UTC
Read the original article Hit count: 246

Filed under:
|
|
|
|

Hy,

I got an intersting problem which I stumbled upon. When I double click a label in a JLabel I want to add another button in a JPanel, its a shorter way to make a dragg and drop. The problem is that the button doesn't appears only if i'll position the mouse on the area the button should appear. Why does it happens this way? Anyone got a clue? Are there some thread related issues involved?

Thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about jbutton