<s> import pyjd <EOL> from pyjamas . ui . RootPanel import RootPanel <EOL> from pyjamas . ui . HTML import HTML <EOL> from pyjamas . ui . Label import Label <EOL> from pyjamas . ui import HasAlignment <EOL> from pyjamas . ui . Button import Button <EOL> from pyjamas import Window <EOL> from pyjamas . ui . VerticalSplitPanel import VerticalSplitPanel <EOL> from pyjamas . ui . HorizontalSplitPanel import HorizontalSplitPanel <EOL> class SplitPanel : <EOL> def onModuleLoad ( self ) : <EOL> self . vertpanel = VerticalSplitPanel ( ) <EOL> self . vertpanel . setSize ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> self . vertpanel . setSplitPosition ( "<STR_LIT>" ) <EOL> self . vertpanel . setStyleAttribute ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> self . horzpanel = HorizontalSplitPanel ( ) <EOL> self . horzpanel . setSize ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> self . horzpanel . setSplitPosition ( "<STR_LIT>" ) <EOL> self . horzpanel . setStyleAttribute ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> randomText = "<STR_LIT>" <EOL> for i in range ( <NUM_LIT:200> ) : <EOL> randomText += "<STR_LIT>" % i <EOL> self . vertpanel . setTopWidget ( HTML ( randomText ) ) <EOL> self . vertpanel . setBottomWidget ( HTML ( randomText ) ) <EOL> self . horzpanel . setLeftWidget ( HTML ( randomText ) ) <EOL> self . horzpanel . setRightWidget ( HTML ( randomText ) ) <EOL> RootPanel ( ) . add ( self . vertpanel ) <EOL> RootPanel ( ) . add ( self . horzpanel ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> pyjd . setup ( "<STR_LIT>" ) <EOL> app = SplitPanel ( ) <EOL> app . onModuleLoad ( ) <EOL> pyjd . run ( ) </s>
