// {
switch (startingChar) {
//case Boolean
case 'b':
case 'B':
gmstToAdd.add(new GMST(patch, BoolSetting.valueOf(currentGMSTName.toString()), Boolean.parseBoolean(currentGMSTValue)));
break;
//case Integer
case 'i':
case 'I':
gmstToAdd.add(new GMST(patch, IntSetting.valueOf(currentGMSTName.toString()), Integer.parseInt(currentGMSTValue)));
break;
//case String
case 's':
case 'S':
//case Float
gmstToAdd.add(new GMST(patch, StringSetting.valueOf(currentGMSTName.toString()), currentGMSTValue));
break;
case 'f':
case 'F':
gmstToAdd.add(new GMST(patch, FloatSetting.valueOf(currentGMSTName.toString()), Float.parseFloat(currentGMSTValue)));
break;
//Just in case
default:
JOptionPane.showMessageDialog(null, "Invalid GMST:\n" + currentGMSTName.toString() + "\nPlease contact the author.");
}// Close switch(startingChar)