Skip to content
Permalink
deadca5625
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (15 sloc) 394 Bytes
import java.awt.event.*;
import javax.swing.event.*;
public class MyMouseListener extends MouseAdapter
{
DrawingPanel _myPanel;
// constructor
public MyMouseListener(DrawingPanel dp)
{
_myPanel = dp;
}
public void mouseClicked(MouseEvent e)
{
_myPanel.mouseClicked(e);
}
}