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

    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?