title: selecting random strings in arrays to print message
body: <p>I've been asked to create a programme that stores series of suitable nouns, adjectives and verbs in arrays. These must be set up at the start of programme run. Rather than ask the user, each time it generates letter it just chooses words at random from the appropriate array. The arrays are passed to methods that represent the templates.</p>
  
  <p>I'm new to java, and this is what I have managed to get done below, however shows errors saying void cannot be converted to string for the print message part. I would be glad if someone can help me approach this simple question which i'm struggling on, I don't know if I am doing it correctly :/ . Any help would be much appreciated :) </p>
  
  <pre><code> public static void arrays()
  {
  
          final String []noun = {"face", "eyes", "tender", "lips", "ears", "roses"};
          Random random = new Random();
          int rand1 = random.nextInt(noun.length);
  
  
          final String []verb = {"enchant", "dazzle", "cuddle" , "lure", "desire", "dream" };
          Random random2 = new Random();
          int rand2 = random2.nextInt(verb.length);
  
  
          final String []adjective = { "Alluring", "Angelic", "Adoring", "Appealing", "Attractive", "beautiful"};
          Random random3 = new Random();
          int rand3 = random3.nextInt(adjective.length);
  
  
          String message = printmessage (noun[rand1], verb[rand2], adjective[rand3]);
  
          JOptionPane.showMessageDialog(null, message);
  
  }
      // END arrays
  
       public static String printmessage(String r1, String r2, String r3)
      {
          String result1;
          String result2;
          String result3;
          String result4;
  
          result1 = JOptionPane.showMessageDialog(null, "I would love to " + r2 + " " + r3 + " " + r1 + "\n");
          return result1;
          result2 = JOptionPane.showMessageDialog(null, "Your are my " + r1 + " " + r3 + " " + r2 + "\n");
          return result2;
          result3 = JOptionPane.showMessageDialog(null, "you always look great in that " + r1 + " , as you always do, since your so" + r3 + "\n");
          return result3;
          result4 = JOptionPane.showMessageDialog(null, "I get butterflies when I see you in" + r1 + " , you make me " + r2 + " , in your " + r3 + " world" + "\n");
          return result4;
  
      }
  </code></pre>