A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
How to trigger a sound file in java cmd
Joined: Dec 04, 2013
Dec 04, 2013 21:25:01
How do I trigger a sound file(I don't care what type the sound file is) in
when the program is just going to ran in the command prompt? Thanks
Joined: Jul 26, 2007
Dec 04, 2013 22:21:15
Welcome to the Ranch.
Do you mean play some audio file from your code? If yes, check out
In case you just want to draw the user's attention, Toolkit#beep() will emit a beep (internally it will use your underlying OS's beep)
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: How to trigger a sound file in java cmd
How to call trigger from java?
SMS sending functionality working when hard coded. but not working when called through a trigger
listener to the folder changes in java application.
regarding JDK1.7 release
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015