A BlueJ project is organized with separate files for each class and interface.
For a BlueJ project, create a separate class for each of the classes and copy and paste the code for each.
In BlueJ, clicking on the icon for each class evokes the editor for that class. Each class corresponds to a separate *.java file within the project directory.