I have a code which uses Java Swing application for the User Interface but uses JavaScript files to do some hardware testing. Application is calling JavaScript engine to invoke the functions from JavaScript using I have a code which uses Java Swing application