Results 1 to 4 of 4

Thread: Sounds?

  1. #1
    Alerhau's Avatar
    Alerhau is offline Senior Member
    Join Date
    Jun 2011
    Location
    Sweden
    Posts
    158
    Rep Power
    4

    Default Sounds?

    I know that I posted another thread about sounds before,
    so I hope that everyone think that it's okay that I post a new one.
    (Cannot find the old one)

    I have no idea about how to use sounds in a normal Java application.
    Not an applet, I know it does'nt work out of the Applet world,
    so what I need is how to do it in the "Normal" way.

    I've been going through a lot of tutorials for this + reading the API,
    still can't find a soloution for this.

    Please give me some help, I would really appreciate it!

    Btw, if it matters, then I am using a JFrame. (The Swing)

    Thanks,
    Alex
    Currently Developing a Game Called Loaie, You Can Download It From "The Loaie Website".

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default

    There's a static method of the Applet class that you can use.

    Not an applet, I know it does'nt work out of the Applet world,
    What Applet world? What doesn't work?

    db

  3. #3
    Alerhau's Avatar
    Alerhau is offline Senior Member
    Join Date
    Jun 2011
    Location
    Sweden
    Posts
    158
    Rep Power
    4

    Default

    What is the static method of the Applet class that I can use? Just give me the name of it & Thanks! :-)

    The applet world. What I meant was using the ways you do it in an applet. But when you say that there is a static method in it, then great!
    Currently Developing a Game Called Loaie, You Can Download It From "The Loaie Website".

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,529
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Alerhau View Post
    What is the static method of the Applet class that I can use? Just give me the name of it & Thanks! :-)
    You should at least have bookmarked a link to the API documentation.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. How can I loop sounds in JPanel?
    By rajkobie in forum New To Java
    Replies: 4
    Last Post: 04-24-2011, 03:49 PM
  2. Combining Individual Sounds - Urgent
    By JDCAce in forum Advanced Java
    Replies: 4
    Last Post: 12-05-2008, 05:17 AM
  3. Wave Sounds
    By Doctor Cactus in forum New To Java
    Replies: 2
    Last Post: 10-22-2008, 01:44 PM
  4. Turn off sounds in Eclipse
    By gio.fou in forum Eclipse
    Replies: 2
    Last Post: 09-06-2008, 08:31 PM
  5. Sounds don't play when running applet
    By leonard in forum Java Applets
    Replies: 1
    Last Post: 08-06-2007, 08:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •