JavaRanch » Java Forums »
Java »
Beginning Java
| Author |
JSlider is not working.
|
Hui Zhao
Ranch Hand
Joined: Jul 09, 2007
Posts: 116
|
posted

0
|
I am going to plot a 2d, a combox and a JSlider.but JSlider is not working. Please help me. thanks
|
 |
marc weber
Sheriff
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
sscce.org
|
 |
Hui Zhao
Ranch Hand
Joined: Jul 09, 2007
Posts: 116
|
posted

0
|
sorry,please see my new code.
|
 |
Hui Zhao
Ranch Hand
Joined: Jul 09, 2007
Posts: 116
|
posted

0
|
ignore it, i have gotten. poster closed.
|
 |
Bert Bates
author
Sheriff
Joined: Oct 14, 2002
Posts: 8712
|
|
just for the record, even though this was closed, i'm moving it to the more appropriate intermediate form
|
Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
|
 |
 |
|
|
subject: JSlider is not working.
|
|
|
|