public TileCutter getCutter(int w, int h, int s) {
final String selectedItem = (String) cutterBox.getSelectedItem();
if (selectedItem.equalsIgnoreCase("basic")) {
return new BasicTileCutter(w, h, s, 0);
} else if (selectedItem.equalsIgnoreCase("border")) {
return new BorderTileCutter();
}
return null;
}