.parseFloat(lon));
final AdminChoice choice =
(AdminChoice) _choiceField.getChoice(_choiceField
.getSelectedIndex());
final ReverseGeocoder reverseGeocoder =
ReverseGeocoder.getInstance();
if (_blockingCheckBox.getChecked()) {
// We are making a blocking request, should not be
// called on event thread.
final Thread t = new Thread(new Runnable() {
/**
* @see java.lang.Runnable#run()
*/
public void run() {
try {
// This will check the cache first before
// making
// a request to the server. Passing null as
// the
// first argument to reverseGeocode()
// results in
// a blocking call.
final ReverseGeocodeExchange ex =
reverseGeocoder
.reverseGeocode(
null,
origin,
choice.getValue(),
Integer.parseInt(_bearingEditField