ReferencedEnvelope env = (ReferencedEnvelope) ev.getData();
displayCRS( env.getCoordinateReferenceSystem() );
}
});
final JPopupMenu menu = new JCRSPopupMenu(mapPane);
btn.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
menu.show(btn, 0, 0);
}
});
}