I have two classes(?) that I am trying to combine into one. I am basically trying to pull sentences from an array randomly, and place them into the JOptionPane. I have been trying to do this for a few hours, and it's late and I'd like to finish soon. Here is the code, if this helps answer my question.
Sentence gen part:
And the Other part:
OptionPane.showMessageDialog(SetenceGenerator.JOptionPane.PLAIN_MESSAGE ); //see here I tried to incorporate the sentence gen, hoping that having it in the main method along with this part of the code it would work. It did not.
Please, any help that you can contribute would be amazing!