playing a sound
<p>I'm very beginner in Java, so ...</p>

<p>I've written a simple Java code to display images from my hard drive wherever I click the mouse, not on the applet, on panel, now how can I make a sound play automatically when I view 6 pictures ?</p>

<pre><code>public void mouseClicked(MouseEvent e) { 
            if (count == images.length - 1) { 
                    ???????????????????????
            } else { 
                    count++; 
            } 
            x = e.getX(); 
            y = e.getY(); 
            frameTest.repaint(); 
            } 
</code></pre>

<p>I want to play a sound file from the Hard drive, in the place of question marks ..</p>

<p>can some one help plz ?</p>
