-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
x86
-
windows_nt
Name: skT45625 Date: 08/17/2000
JDK 1.3.0 final WinNT
Calling JProgressBar setModel with null throws a NPE.
This happends because there is no check if the new model
is null in line 575 in JProgressBar.java (JDK 1.2.2 line 572).
This line sets the extent to 0 (model.setExtent(0)).
Please check if the new model is null or move the line a bit
up into an existing check.
(Review ID: 108567)
======================================================================