Getting JReport Engine Bean's version number

The method String getVersion() is used to get the version number of your JReport Engine Bean.

You can use this method as below:

bean = new JREngine();
System.out.println(bean.getVersion());

The method will then print out: