tn5250j/src/org/tn5250j Screen5250.java,1.56,1.57

"Kenneth J. Pouncey" <[email protected]> Sun, 27 Jun 2004 08:18:55 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2306

Modified Files:
	Screen5250.java 
Log Message:
Added comments from Luc - LDC for the screen updating - hot damn it works on my mac as well -- YYYEEEESSSS

Index: Screen5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Screen5250.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** Screen5250.java	27 Jun 2004 08:08:18 -0000	1.56
--- Screen5250.java	27 Jun 2004 08:18:53 -0000	1.57
***************
*** 4441,4444 ****
--- 4441,4452 ----
  //         g2d.drawImage(tileimage, null, null);
  //      }
+ 
+ // LDC - WVL : 08/09/2003 : TR.000358
+ // TN5250j overpaints superimposed components
+ // as swing doesn't support overlay detection when painting a component
+ // we have to adhere to swing's paint request and use dirty rectangle marking
+ // instead of off-thread painting
+ // So we replaced the complete block underneath by 1 repaint request
+       
        // fix for jdk1.4 - found this while testing under jdk1.4
        //   if the height and or the width are equal to zero we skip the



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com