private boolean getThinGens() {
   int thin =
       JOptionPane.showConfirmDialog(
           uacalc,
           "Eliminate some redundant projections",
           "Coordinate thinning",
           JOptionPane.YES_NO_OPTION,
           JOptionPane.QUESTION_MESSAGE);
   if (thin == JOptionPane.YES_OPTION || thin == JOptionPane.OK_OPTION) return true;
   return false;
 }