public void mouseClicked(MouseEvent e)
{
// TODO: Add your code here
if (e.getButton()==1)/
{
if (e.getClickCount()==2)
{ }
}
}
{
// TODO: Add your code here
if (e.getButton()==1)/
{
if (e.getClickCount()==2)
{ }
}
}
{
// TODO: Add your code here
if (e.getSource()=="你的button")/
{
if (e.getClickCount()==2)
{ }
}
}
if(evt.getClickCount() == 2){
//your event
}
}