This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 6467 - Labels of JSlider aren`t repainted after you change MajorTickSpacing property.
Summary: Labels of JSlider aren`t repainted after you change MajorTickSpacing property.
Status: CLOSED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: _ ttran
URL:
Keywords:
: 16984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2000-04-28 17:00 UTC by Jan Stola
Modified: 2003-06-30 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stola 2000-04-28 17:00:22 UTC
Put JSlider into some form.
Change its paintLabels property to True.
Change its paintTicks property to True (it`s not necessary, but you will easily see what`s this CR about).
Change JSlider`s majorTickSpacing property to 25.
Label`s will be painted correctly.
Change this property again to 20.
Labels still will be 0, 25, 50, 75, 100 but they should be 0, 20, 40, 60, 80, 100.
Comment 1 Tomas Pavek 2000-07-20 11:19:59 UTC
This seems to be a bug of JSlider itself. You can create a simple application -
set initially some major spacing and then change it e.g. using a button. You'll
see ticks repainting correctly but labels remain.  (JDK 1.3)
Comment 2 Marek Grummich 2000-07-25 09:22:59 UTC
Priority is changed to P4 (normal).
Comment 3 Jan Stola 2000-08-01 13:55:59 UTC
Verified in Build 2011.
Comment 4 Tomas Pavek 2001-10-26 09:48:39 UTC
*** Issue 16984 has been marked as a duplicate of this issue. ***
Comment 5 Quality Engineering 2003-06-30 18:28:30 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.