home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / Src / Win32Api / RECT.java < prev    next >
Encoding:
Java Source  |  1998-03-05  |  708 b   |  29 lines

  1. // Copyright (C) 1997-1998 Microsoft Corporation  All Rights Reserved
  2.  
  3. // These classes provide direct, low-overhead access to commonly used
  4. // Windows api. These classes use the new J/Direct feature.
  5. //
  6. // Information on how to use J/Direct to write your own declarations
  7. // can be found in the Microsoft SDK for Java 2.0.
  8.  
  9. package com.ms.win32;
  10.  
  11. /** @dll.struct() */
  12. public class RECT {
  13.     public int left;
  14.     public int top;
  15.     public int right;
  16.     public int bottom;
  17.  
  18.     public RECT() {
  19.     }
  20.  
  21.     public RECT(int left, int top, int right, int bottom) {
  22.         this.left = left;
  23.         this.top = top;
  24.         this.right = right;
  25.         this.bottom = bottom;
  26.     }
  27. }
  28.  
  29.