This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Controlling volume using JSlider

 
Rajasree R
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can I use control the volume using a JSlider?

Thanks in advance
Rajasree
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add a changeListener to the slider, and in stateChanged() set the volume
according to the slider value
 
Rajasree R
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thx for the reply.But what I dnt know is how to set /adjust the volume.I know how to use the slider.Sorry,my question was not clear.
Thanks
Rajasree
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic