The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Bringing Swing to the Web
Subject:  It is a good practice to ...
Date:  2006-04-21 00:19:06
From:  codemaster


Hi.
Great stuff but i think that you must say

Graphics2D grap = img.createGraphics();
grap.fillRect(0,0,img.getWidth(),img.getHeight());
grap.dispose();

instead of

Graphics2D grap = img.createGraphics();
grap.fillRect(0,0,img.getWidth(),img.getHeight());

 Feed java.net RSS Feeds