<Swing Dev> Bug 6306075
pavel.porvatov at oracle.com
Tue Jun 26 15:00:56 UTC 2012
> Actually, i did find a new 'problem' related to this class now:
> java 7 added the getContentLengthLong method to urlconnection (for
> long downloads), and i was using getContentLength as a maximum value
> for a progressbar - needless to say those methods don't work with longs.
> I suppose they (ProgressBar.setMaximum, setValue, setMinimum) can't be
> transparently changed from int to long?
You can scale you long values into int
More information about the swing-dev