Ejemplo n.º 1
0
  @Override
  protected void renderImpl(GLGraphics g, float w, float h) {
    // push my resource locator to find the icons
    g.pushResourceLocator(ResourceLocators.classLoader(this.getClass().getClassLoader()));

    super.renderImpl(g, w, h);

    g.popResourceLocator();
  }
Ejemplo n.º 2
0
 protected IResourceLocator createResourceLocator() {
   return ResourceLocators.chain(
       ResourceLocators.classLoader(root.getClass().getClassLoader()), ResourceLocators.FILE);
 }