List of usage examples for javax.swing JLabel getLocation
public Point getLocation()
From source file:Main.java
@Override public void mousePressed(MouseEvent e) { JLabel label = (JLabel) e.getSource(); initLabelLocation = label.getLocation(); initMouseLocationOnScreen = e.getLocationOnScreen(); }