private void playtickSound() {
        if (true == playClockSound) {
            try {           
                clip = AudioSystem.getClip();

                // getAudioInputStream() also accepts a File or InputStream
                AudioInputStream ais = AudioSystem.getAudioInputStream(new File(clockTickSoundPath));

                // open and play the clip
                clip.open(ais);
                clip.loop(1);

            } catch (MalformedURLException ex) {
                System.out.println(ex);
            } catch (LineUnavailableException ex) {
                System.out.println(ex);
            } catch (IOException ex) {
                System.out.println(ex);
            } catch (UnsupportedAudioFileException ex) {
                System.out.println(ex);
            }      
        }
    }