You will import a project that uses the JavaFX library to implement a user interface:
Importing the addressBookFX project
To import the project:
- Click
.
This opens the
Import dialog box.
- Click
.
- Click
Next.
- Click
Browse next to the
Select root directory field.
This opens the
Browse For Folder dialog box.
- Navigate to the
Eclipse\jvm_cobol\AddressBookDemo folder in the samples directory installed with
Enterprise Developer, which by default is
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples.
- Click
OK.
- In the
Projects list, ensure that just the addressBookFX is checked.
- Click
Copy projects into workspace.
- Click
Finish.
Add the COBOL JVM Runtime System
Ensure that the COBOL JVM Runtime System has been added to the addressBookFX project's Java Build Path libraries:
- In COBOL Explorer, right-click
addressBookFX, and then click
Properties.
This opens the
Properties for addressBookFX dialog box.
- Click
Java Build Path.
- Click the
Libraries tab.
- Click
Add Library.
This opens the
Add Library dialog box.
- Click
COBOL JVM Runtime System.
- Click
Next.
- Click
Finish.
- Click
Apply and Close.