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

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

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

revision 1.44 by tromey, Mon Mar 11 00:52:00 2002 UTC revision 1.45 by tromey, Sat Nov 9 23:17:30 2002 UTC
# Line 151  public class GtkComponentPeer extends Gt Line 151  public class GtkComponentPeer extends Gt
151      int dim[]=new int[2];      int dim[]=new int[2];
152      gtkWidgetGetDimensions (dim);      gtkWidgetGetDimensions (dim);
153      Dimension d = new Dimension (dim[0],dim[1]);      Dimension d = new Dimension (dim[0],dim[1]);
     System.out.println ("min: " + this + d);  
154      return (d);      return (d);
155    }    }
156    
# Line 160  public class GtkComponentPeer extends Gt Line 159  public class GtkComponentPeer extends Gt
159      int dim[]=new int[2];      int dim[]=new int[2];
160      gtkWidgetGetDimensions (dim);      gtkWidgetGetDimensions (dim);
161      Dimension d = new Dimension (dim[0],dim[1]);      Dimension d = new Dimension (dim[0],dim[1]);
     System.out.println ("pref: " + this + d);  
162      return (d);      return (d);
163    }    }
164    
# Line 242  public class GtkComponentPeer extends Gt Line 240  public class GtkComponentPeer extends Gt
240    
241    public void setBackground (Color c)    public void setBackground (Color c)
242    {    {
243      System.out.println ("setBackground [UNIMPLEMENTED");      // System.out.println ("setBackground [UNIMPLEMENTED");
244    }    }
245    
246    native public void setNativeBounds (int x, int y, int width, int height);    native public void setNativeBounds (int x, int y, int width, int height);
# Line 277  public class GtkComponentPeer extends Gt Line 275  public class GtkComponentPeer extends Gt
275    
276    public void setForeground (Color c)    public void setForeground (Color c)
277    {    {
278      System.out.println ("setForeground [UNIMPLEMENTED");      // System.out.println ("setForeground [UNIMPLEMENTED");
279    }    }
280    
281    public Color getForeground ()    public Color getForeground ()
# Line 349  public class GtkComponentPeer extends Gt Line 347  public class GtkComponentPeer extends Gt
347      do      do
348        {        {
349          component = component.getParent ();          component = component.getParent ();
         System.out.println ("COMPONPEER: " + component);  
350          p = component.getPeer ();          p = component.getPeer ();
351        } while (p instanceof java.awt.peer.LightweightPeer);        } while (p instanceof java.awt.peer.LightweightPeer);
352            

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

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