home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / unuy2wen / cybcerone / orient / orienticon.java < prev    next >
Encoding:
Java Source  |  1996-08-14  |  689 b   |  32 lines

  1. // OrientIcon.java
  2. // 16.03.96
  3. //
  4. // The icon on the orientation screen
  5.  
  6. package cybcerone.orient;
  7.  
  8. import java.awt.Rectangle;
  9.  
  10. import cybcerone.utils.IdPanel;
  11. import cybcerone.utils.Appletlike;
  12.  
  13. /**
  14.  * Useless gratuitous graphic.
  15.  */
  16. class OrientIcon extends IdPanel {
  17.   private static final Rectangle placement = new Rectangle (734, 0, 290, 200);
  18.  
  19.   private static final String id = "OrientIcon";
  20.   private static final String statusText = "Maps and orientation";
  21.  
  22.   private static final String bgFile = 
  23.     OrientPanel.imagePath + "titre_orientation.gif";
  24.  
  25.   OrientIcon (Appletlike app) {
  26.     super (id, statusText, app);
  27.     reshape (placement);
  28.  
  29.     setBackground (bgFile, 1);
  30.   }
  31. }
  32.