AnsweredAssumed Answered

how to execute the storyboard in my java project?

Question asked by roy on Dec 11, 2013
Latest reply on Dec 17, 2013 by roy
hello :
     I buy the STM32F40G-JAVA eval board,i got a problem when i used the MricoEJ to develop the project.
     I read the STM32Java-UI-PACK user's Manual,In the 7.2.4 it shows that how to edit stroyboard, i did it follow the document said ,however, i don't know how to execute it and display it in the simJPF you know, i write it like this,,i read the class summary about stroyBoard ,it show that it have the method ,then i write the code ,In a pity ,it has error,can't find the source,i don't know why.
public class MyTest {
     /**
      * @param args
      */
     public static void main(String[] args) 
     {
          // TODO Auto-generated method stub
          Display display;
          display=Display.getDefaultDisplay();
          StoryBoard.loadStory("Mystoryboard").run(display);
     }


}


adfaewew.png
THIS IS ERROR:
Exception in thread "main" java.util.NoSuchElementException: Mystoryboard is not a valid Immutable ID
     at java.lang.Throwable.fillInStackTrace(Throwable.java:130)
     at java.lang.Throwable.<init>(Throwable.java:59)
     at java.lang.Exception.<init>(Exception.java:20)
     at java.lang.RuntimeException.<init>(RuntimeException.java:25)
     at java.util.NoSuchElementException.<init>(NoSuchElementException.java:22)
     at ej.bon.ImmutablesFile.get(ImmutablesFile.java:45)
     at ej.bon.Immutables.get(Immutables.java:94)
     at com.is2t.storyboard.StoryBoard.loadStory(<unknown source file>:22)
     at MyTest.main(MyTest.java:16)
do you have some demo or reference manual can i have a look ,thanks .

Outcomes