Changeset 31223 in osm for applications


Ignore:
Timestamp:
2015-06-05T12:47:17+02:00 (10 years ago)
Author:
nokutu
Message:

Preparing to add a hyperlink to the image at mapillary website

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryImageDisplay.java

    r31176 r31223  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
     5import java.awt.BorderLayout;
    56import java.awt.Color;
    67import java.awt.Dimension;
     
    1819
    1920import javax.swing.JComponent;
     21import javax.swing.JLabel;
     22import javax.swing.SwingConstants;
    2023
    2124/**
     
    4548         */
    4649        private Rectangle selectedRect = null;
     50       
     51        private JLabel hyperlink;
    4752
    4853        private class ImgDisplayMouseListener implements MouseListener,
     
    309314                addMouseWheelListener(mouseListener);
    310315                addMouseMotionListener(mouseListener);
     316                this.setLayout(new BorderLayout());
     317                hyperlink = new JLabel("Prueba", SwingConstants.RIGHT);
     318                hyperlink.setForeground(Color.BLUE);
     319                this.add(hyperlink, BorderLayout.SOUTH);
    311320        }
    312321
Note: See TracChangeset for help on using the changeset viewer.