This content has been marked as final. Show 4 replies
Late but just to make it clear, the answer to these kind of questions is the same 999/1000 times. As soon as your question takes this form:
"how do I do SOMETHING in OPERATING SYSTEM using Java",
the answer is:
"You need to write a native library that can do it and call that using JNI or JNA from Java."
Because Java is cross-platform, it cannot do platform-specific stuff like changing the volume or whatever you want to do to control the OS. You need to use the operating system's unique API layer to do it.
You get "1.0" because that's the maximum volume. If you want to change it, you have to set it.
I'm agree with that opinion
You're a year late.
Mod: locking this zombie.