memphis_1220
Limp Gawd
- Joined
- Aug 28, 2004
- Messages
- 499
Hi
Quick question here.
I have a JScrollBar and would like it to have an increment of 0.1 when the tab is moved or the arrows are clicked. So I believe this will be a unit increment, correct me if i'm wrong.
I have done some searching and found that I have to use this line:
void setUnitIncrement(int unitIncrement);
(obviously a float seeing as though I would like a 0.1 increment)
Where do I put this line?
Thanks
Mike
Quick question here.
I have a JScrollBar and would like it to have an increment of 0.1 when the tab is moved or the arrows are clicked. So I believe this will be a unit increment, correct me if i'm wrong.
I have done some searching and found that I have to use this line:
void setUnitIncrement(int unitIncrement);
(obviously a float seeing as though I would like a 0.1 increment)
Where do I put this line?
Thanks
Mike