public void actionPerformed(ActionEvent e) {
Object key = jbc.getSelectedItem();
if (key instanceof Resolver) {
path.setResolver(key);
}
if (path.resolve()) {
path.setSolved(true);
jbc.addItem("Resolved");
jbc.setSelectedIndex(jbc.getItemCount() - 1);
// for (int cnt = 0; cnt <