public void createPartControl(Composite parent) { if (Functions.init()) { System.out.println("dir: "+Globals.PLUGIN_DIR); Globals.loadIcons(); currentCommentsChannel = new ParserHtml(Globals.RSS_COMMENTS_FNAME).getChannel(); //************************************* System.out.println(Globals.ICON_RSS_FUX); System.out.println(currentCommentsChannel.getIcon()); currentPostsChannel = new ParserHtml(Globals.RSS_POSTS_FNAME).getChannel(); currentEditsChannel= new ParserHtml(Globals.RSS_EDITS_FNAME).getChannel(); currentChannel = currentCommentsChannel; Globals.currentConnectionThread = new ConnectionThread(false,this); Globals.currentDownThread = new RssDownThread(false, this); GridLayout gl = new GridLayout(); gl.numColumns = 1; Functions.setFontSize(); parent.setLayout(gl); TOOLBAR = new ToolsBar(parent); TITLELABEL = new Label(parent, SWT.HORIZONTAL|SWT.CENTER); TOOLBAR.setLayoutData(); setTitleLabel(currentChannel); TABLE = new ItemsTable(parent); TABLE.setLayoutData(); BRW = new Browser(parent, SWT.DEFAULT|SWT.BORDER); GridData gd = new GridData(GridData.FILL_HORIZONTAL); gd.heightHint = 450; gd.grabExcessHorizontalSpace = true; gd.grabExcessVerticalSpace = true; gd.verticalAlignment = SWT.TOP; BRW.setLayoutData(gd);