home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / TEST / DRAG_CON.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.6 KB  |  52 lines

  1. /*
  2.  * $Id: drag_container_test.java,v 1.9 1996/10/03 19:46:51 hudson Exp $
  3.  * $Author: hudson $
  4.  */
  5.  
  6. package sub_arctic.test;
  7.  
  8. import sub_arctic.lib.interactor;
  9. import sub_arctic.lib.interactor_applet;
  10. import sub_arctic.lib.manager;
  11. import sub_arctic.lib.top_level;
  12. import sub_arctic.lib.drag_container;
  13. import sub_arctic.lib.icon;
  14. import sub_arctic.output.style;
  15. import sub_arctic.output.style_manager;
  16. import sub_arctic.lib.button;
  17. import sub_arctic.output.loaded_image;
  18. import sub_arctic.lib.base_parent_interactor;
  19.  
  20. public class drag_container_test extends interactor_applet {
  21.  
  22.   public void build_ui(base_parent_interactor top) 
  23.     {
  24.       interactor p1;
  25.       style s=style_manager.current_style();
  26.  
  27.       loaded_image[] lab1 = 
  28.     s.button_make_images("Drag me...",style_manager.default_font(),
  29.                  10,5,false);
  30.       p1 = new drag_container(10,10,false);
  31.       top.add_child(p1);
  32.       p1.add_child(new icon(10,10,lab1[0]));
  33.     }
  34. }
  35.  
  36. /*=========================== COPYRIGHT NOTICE ===========================
  37.  
  38. This file is part of the subArctic user interface toolkit.
  39.  
  40. Copyright (c) 1996 Scott Hudson and Ian Smith
  41. All rights reserved.
  42.  
  43. The subArctic system is freely available for most uses under the terms
  44. and conditions described in 
  45.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  46. and appearing in full in the lib/interactor.java source file.
  47.  
  48. The current release and additional information about this software can be 
  49. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  50.  
  51. ========================================================================*/
  52.