<Swing Dev> Bug 6306075

Paulo Levi i30817 at gmail.com
Wed Jun 20 14:40:32 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20120620/51945085/attachment.html>


More information about the swing-dev mailing list