1 Reply Latest reply on Jul 30, 2013 6:16 PM by James_D

    Load css file from s static Java method


      I want to load Java method from static Java method. I tested something like this:

      public class Foo {
      private static final String css;
              static {
                  css = this.getClass().getResource("/com/dx57dc/css/ButtonsDemo.css").toExternalForm();


      But this it's not working. Any idea how this can be solved?