fix superheating and supercooling for java backend

@traiansf @yilongli please review
technically the default klabel is 'cool, with an apostrophe. I elected to leave the klabel the same rather than changing the references to it. Hence the attribute.