/[classpath]/classpath/gnu/java/awt/peer/gtk/TestAWT.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/TestAWT.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by rao, Mon Mar 20 04:14:18 2000 UTC revision 1.14 by jewel, Sat Aug 11 16:27:01 2001 UTC
# Line 17  You should have received a copy of the G Line 17  You should have received a copy of the G
17  along with this library; if not, write to the Free Software Foundation  along with this library; if not, write to the Free Software Foundation
18  Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA. */  Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA. */
19    
20    import java.awt.List;
21  import java.util.*;  import java.util.*;
22  import java.awt.*;  import java.awt.*;
23  import java.awt.event.*;  import java.awt.event.*;
# Line 324  class CursorsWindow extends SubFrame imp Line 324  class CursorsWindow extends SubFrame imp
324      {      {
325        public void paint (Graphics g)        public void paint (Graphics g)
326        {        {
327          Dimension d = getSize();          Dimension d = this.getSize();
328          g.setColor (Color.white);          g.setColor (Color.white);
329          g.fillRect (0, 0, d.width, d.height/2);          g.fillRect (0, 0, d.width, d.height/2);
330          g.setColor (Color.black);          g.setColor (Color.black);
331          g.fillRect (0, d.height/2, d.width, d.height/2);          g.fillRect (0, d.height/2, d.width, d.height/2);
332          g.setColor (getBackground());          g.setColor (this.getBackground());
333          g.fillRect (d.width/3, d.height/3, d.width/3,          g.fillRect (d.width/3, d.height/3, d.width/3,
334                      d.height/3);                      d.height/3);
335        }        }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26