Are there some samples to see how to work with JavaBeans?


Yes, there are several examples in the %ISCOBOL%/sample directory.

There is a sample for a 3-D pie chart in issamples/SAMPLES.
You can see this same chart in iscontrolset/ISCONTROLSET with options to view the data in a bar and line chart as well.

There are more samples of JavaBeans in the is-java/javabeans folder.
These include an html-editor, jcalendar, jprogress, and an rtf-editor.

JavaBeans are external components that can be used by isCOBOL as standard controls.
They can be defined in the screen section and used by the DISPLAY, MODIFY and INQUIRE statements.
They also raise events that should be handled in the event procedure.

More information about JavaBeans is in the isCOBOL documentation's User Interface Reference, under Controls Reference-> JAVA_BEAN



Article ID: 230
Created: January 9, 2014
Last Updated: March 14, 2024
Author: Support KB Author

Online URL: https://support.veryant.com/support/phpkb/article.php?id=230