MouseInfo muis = Greenfoot.getMouseInfo();
if( muis.getClickCount() == 5){
JOptionPane.showMessageDialog(null,"fdfd");
}
i want to get this thing to work, i want it to display a message when the object is clicked on 5 times what am i doing wrong guys
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)