This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes JSlider is not working. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JSlider is not working." Watch "JSlider is not working." New topic

JSlider is not working.

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
I am going to plot a 2d, a combox and a JSlider.but JSlider is not working.
Please help me.
marc weber

Joined: Aug 31, 2004
Posts: 11343

I don't see any code that "listens" for when the slider is changed and does something when that happens.

See Java Tutorial - How to Use Sliders and Java Tutorial - How to Write a Change Listener.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
sorry,please see my new code.

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
ignore it, i have gotten.
poster closed.
Bert Bates

Joined: Oct 14, 2002
Posts: 8883
just for the record, even though this was closed, i'm moving it to the more appropriate intermediate form

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
jQuery in Action, 2nd edition
subject: JSlider is not working.