Add missing @Override annotations (#617)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user