The end of my travels with the Enigma Machine
Have not used designer scripts to position the UI components - just stuck them on. You can neaten it up if you want to
Once started, select from the ComboBoxes:
1. Reflector to use
2. For each Rotor, the Type, Start, and Ring
3. Enter your Plug Combinations (optional) in the Plug Input boxes below the two TextAreas. IMPORTANT to use Upper Case (eg AB) - have not added code to convert from lower case to upper case should you use lower case
4. Click on "Set Configuration" to set the selected configuration
5. Use the "Keyboard"section to type in your message to be encoded - Original text will be in the left hand TextArea and Encoded text will be displayed in the right hand TextArea
Whenever you make any changes to to any of the settings - CLICK on Set Configuration for the changes to take effect before typing again.
No external jars required - only standard/core B4J libs.
Was indeed an interesting exercise.