1. new ScreenBuilder("ShowQuestObjective", null) {
  2.     {
  3.         layer(new LayerBuilder("background") {
  4.             {
  5.                 backgroundImage("resources/images/Book.png");
  6.                 childLayoutAbsoluteInside();
  7.                
  8.                 control(new ScrollPanelBuilder("scrollPanel") {{
  9.                   x("100px"); y("100px");
  10.                   width("200px"); height("200px");
  11.                   set( "vertical", "true" );
  12.                   set( "horizontal", "true" );
  13.                  
  14.                 panel(new PanelBuilder() {{
  15.                 x("0px"); y("135px"); visibleToMouse(false);
  16.                 height("40px"); width("100%");
  17.                 style("nifty-panel");
  18.                        
  19.                 childLayoutAbsoluteInside();
  20.                 text(new TextBuilder("textBonusCharacter") {{
  21.                 x("10px"); y("20px"); visibleToMouse(false);
  22.                 font("resources/fonts/Arial Black.ttf");
  23.                 textHAlignCenter(); textVAlignCenter(); width("50px");
  24.                 text("Michel Montenegro");
  25.                                 }});                         
  26.  
  27.                             }});
  28.                          
  29.                         }});
  30.                     }
  31.                 });
  32.             }
  33.         }.build(nifty);