Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by kweiner » Tue Jul 20, 2004 12:09 pm
I had a problem with some gif's getting messed up when loading from a jar. In SwingResourceManager.getImage(InputStream is), changing "baos.write(buf)" to "baos.write(buf, 0, n)" fixes it. I'm not sure why - maybe the extra bytes at the end of the buffer confused the decoder.
-- Kevin
-
kweiner
-
- Posts: 1
- Joined: Tue Jul 20, 2004 11:57 am
by admin » Tue Jul 20, 2004 10:12 pm
Thank you, fixed.
-
admin
- Moderator
-
- Posts: 166
- Joined: Thu Jul 24, 2003 12:25 am
-
Return to Swing Designer
Who is online
Users browsing this forum: Google [Bot] and 1 guest