protected void displayThanks() { clear(); SmartTable box = new SmartTable(0, 10); box.setText(0, 0, _msgs.configThanks()); box.setWidget( 1, 0, MsoyUI.createButton(MsoyUI.MEDIUM_THIN, _msgs.configGoBack(), NaviUtil.onGoBack())); box.getFlexCellFormatter().setHorizontalAlignment(1, 0, HasAlignment.ALIGN_CENTER); add(box); }
protected void createUploadInterface() { _upload = new AbsolutePanel(); _upload.setStyleName("GetStuff"); _upload.add(MsoyUI.createLabel(_msgs.getStuffTitle(), "GetStuffTitle"), 60, 10); _upload.add(MsoyUI.createHTML(_dmsgs.xlateGetStuffBuy(_type), "GetStuffBuy"), 165, 85); _upload.add(MsoyUI.createHTML(_dmsgs.xlateGetStuffCreate(_type), "GetStuffCreate"), 360, 85); _upload.add( new StretchButton( StretchButton.BLUE_THICK, _msgs.getStuffShop(), Link.createHandler(Pages.SHOP, _type + "")), 10, 90); _upload.add( MsoyUI.createButton( MsoyUI.MEDIUM_THICK, _msgs.getStuffUpload(), NaviUtil.onCreateItem(_type, 0)), 535, 90); }