Add missing @Override annotations (#617)

This commit is contained in:
Gustl22
2018-12-12 00:49:00 +01:00
committed by Emux
parent a62d77583b
commit d806d6bcca
52 changed files with 514 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ class Menu extends JToolBar {
JButton openButton = new JButton(ICON_OPEN);
openButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
try {
themeLoader.selectThemeFile();

View File

@@ -80,6 +80,7 @@ public class MapsforgeMapPanel extends JPanel {
mapView.setBounds(10, 20, getWidth() - 20, getHeight() - 30);
}
@Override
public void componentMoved(ComponentEvent e) {
super.componentMoved(e);
mapView.setBounds(10, 20, getWidth() - 20, getHeight() - 30);

View File

@@ -124,6 +124,7 @@ public class MapAdapter extends Map implements Map.UpdateListener {
}
@Override
public boolean handleGesture(Gesture g, MotionEvent e) {
this.updateMap(true);
return super.handleGesture(g, e);