Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Simple program to play 3 sound files

  1. #1
    Junior Member
    Join Date
    May 2012
    Thanked 0 Times in 0 Posts

    Default Simple program to play 3 sound files

    Im in need of a little program consisting of 3 buttons that each play a different sound file which i am choosing.

    Does any of u know if theres a template or a demo version of such code anywhere. Its not for project use or anything just need a little window to play some sound effects from.

    Kind Regards LarsA

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 636 Times in 540 Posts

    Default Re: Simple program to play 3 sound files

    What have you tried? Where are you stuck? I would recommend googling something like "java sound" to get started.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Adding sound to program.
    By Archibold9 in forum What's Wrong With My Code?
    Replies: 32
    Last Post: December 21st, 2011, 02:28 PM
  2. problem in sound files in created jar file
    By uttam24april in forum Member Introductions
    Replies: 48
    Last Post: December 16th, 2011, 07:19 AM
  3. Cannot get Java to play a sound...
    By JumpingUpAndDown in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 20th, 2011, 09:35 AM
  4. i like to play this game with my phone and i wanted to make a program to help me
    By Imreallyawesome in forum What's Wrong With My Code?
    Replies: 25
    Last Post: August 12th, 2011, 07:34 PM
  5. Java refuses to play sound on my machine
    By DDgeva in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: January 31st, 2010, 08:58 AM

Tags for this Thread