There are 1 code examples for javax.swing.event.MouseInputListener.
The API names are highlighted below.
You can use
button
to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.
Project Name: jbidwatcher Package: com.jbidwatcher.ui.util
Source Code: SearchField.java (Click to view .java file)
Method Code:
private void initBorder(){
setBorder(new CompoundBorder(getBorder(),CANCEL_BORDER));
MouseInputListener mouseInputListener=new CancelListener();
addMouseListener(mouseInputListener);
addMouseMotionListener(mouseInputListener);
}