Displaying temperature and pressure at the same time using java

note to self: must check what an Arduino actually does with a runtime error like that.