3 Replies - 7052 Views - Last Post: 09 May 2012 - 03:35 PM Rate Topic: -----

#1 Benzoate  Icon User is offline

  • D.I.C Head


Reputation: 51
  • View blog
  • Posts: 234
  • Joined: 29-February 12

Play Sound In JFrame

Posted 09 May 2012 - 02:58 PM

I'm currently working on a simple tic-tac-toe game in JFrame, and just for a challenge I was wondering how to play sound when a "tile" is placed on the board.. Basically, is there a really easy short way to play a sound in java?
Is This A Good Question/Topic? 0
  • +

Replies To: Play Sound In JFrame

#2 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8334
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: Play Sound In JFrame

Posted 09 May 2012 - 03:06 PM

http://www.javaworld...-javatip24.html
Was This Post Helpful? 1
  • +
  • -

#3 Benzoate  Icon User is offline

  • D.I.C Head


Reputation: 51
  • View blog
  • Posts: 234
  • Joined: 29-February 12

Re: Play Sound In JFrame

Posted 09 May 2012 - 03:07 PM

Thanks pbl :D
Was This Post Helpful? 0
  • +
  • -

#4 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8334
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: Play Sound In JFrame

Posted 09 May 2012 - 03:35 PM

Or look here
http://www.dreaminco...ost__p__1619443

the first way of doing it
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1