The Object Control Facility Sample manages objects using Object Control Facility.
This sample can be referenced as a simple sample of the program handling mass objects.
The Object Control Facility Sample uses the following classes.
JFCObjectLoaderManager
JFCObjectLoader
Operation method
Proceed as follows to operate this sample.
Start the application.
Figure 2.14 Screen after stared
Pressing the [Add Label] displays the label on the screen.
At the same time, [Label data] is set as the label's data internally.
Figure 2.15 Screen after added the label
Pressing the [Add TextField] displays the text field on the screen.
The text field displays [Label data] that is the label's data.
Also, at the same time, [TextField data] is set as the text field's data internally.
Figure 2.16 Screen after added the text field
Pressing [Add Button] displays the button on the screen.
The button displays [TextField data] that is the text field's data.
Figure 2.17 Screen after added the button
Pressing [Exit] button to finish the sample.
Source codes
Object Control Facility sample:"Sample Storage Destinations"/JFCObject/Sample.java
Subclass of JFCObjectLoaderManager:"Sample Storage Destinations"/JFCObject/ObjectManager.java