• Post Reply Bookmark Topic Watch Topic
  • New Topic

slider API in swings  RSS feed

 
thushar kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I require the use of a slider in my GUI to graphically increase and decrease a number. Does swings have an API for this?

thanks in advance,
thushar
 
Darrin Cartwright
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure!
You are looking for the JSlider class.
Just tie the events from the JSlider to your number display.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!