Package com.mockturtlesolutions.snifflib.guitools.components

Examples of com.mockturtlesolutions.snifflib.guitools.components.DomainNameTree


  }


  public DomainNameTree getDefaultIconMap()
  { 
    DomainNameTree map = super.getDefaultIconMap();
   
   
    //Ordering is not important here.
   
    DomainNameNode newNode = new DomainNameNode("gov.usda.ars","/com/mockturtlesolutions/jpHtools/database/images/usda_ars.jpeg");
    map.insert(newNode);
    newNode = new DomainNameNode("gov.usda","/com/mockturtlesolutions/jpHtools/database/images/small_usda_logo.jpeg");
    map.insert(newNode);
    newNode = new DomainNameNode("com.mockturtlesolutions","/com/mockturtlesolutions/jpHtools/database/images/small_mock_turtle.png");
    map.insert(newNode);
    newNode = new DomainNameNode("edu.ncsu","/com/mockturtlesolutions/jpHtools/database/images/small_ncsu_logo.gif");
    map.insert(newNode);
    newNode = new DomainNameNode("edu.osu","/com/mockturtlesolutions/jpHtools/database/images/small_osu_logo.gif");
    map.insert(newNode);
    newNode = new DomainNameNode("gov.nih","/com/mockturtlesolutions/jpHtools/database/images/small_nih_logo.gif");
    map.insert(newNode);
    newNode = new DomainNameNode("edu.msu","/com/mockturtlesolutions/jpHtools/database/images/small_msu_logo.jpg");
    map.insert(newNode);
    newNode = new DomainNameNode("edu.umich","/com/mockturtlesolutions/jpHtools/database/images/small_umich_logo.gif");
    map.insert(newNode);
   
   
    map.show();
    return(map);
  }
View Full Code Here

TOP

Related Classes of com.mockturtlesolutions.snifflib.guitools.components.DomainNameTree

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.