Fixed JCTerminal instantiation