Hello,
I'm building a Java GUI for some code, and I'm not quite sure about some design aspects.
As some background - The GUI will be used only for one stream of activity
- The user loads a file, the file appears on the screen and the user is shown the effects of mathematical transformation 1, transformation 2, and transformation 3 each time after pressing a button to indicate a yes/no answer.
What I was wondering was - is it ok design to somewhat hard code the GUI code so that after the file is loaded, the events associated with the buttons change from connecting with transformation(s) 1 to 2 to 3?
The functionality for these transformations is implemented in another Java file, and I was wondering how I separation/communication between the two would work; or if I should just go ahead and use one file to cover both the mathematical functionality to be performed with the GUI items.
Please feel free to ask any questions that you think will help you answer this question.