for (int i = 0; i < propertiesList.size(); i++) { Properties tp = (Properties) propertiesList.get(i);
Properties properties = tableModel.getProperties();
    private void applyPropertiesToTiles() {        for (int i = 0; i < propertiesList.size(); i++) {            Properties tp = (Properties) propertiesList.get(i);            for (Enumeration e = properties.keys();                 e.hasMoreElements();) {                String key = (String) e.nextElement();                String val = properties.getProperty(key);                if (!val.equals("?")) {                    tp.setProperty(key, val);                }            }        }    }