Class jsobject = null;
Class jsObject;
	protected void jbInit() {		jUpload = new JButton();		jAdd = new JButton();		jStatusBar = new StatusBar(75);		jScrollPane = new JScrollPane();		jPicturesList = new DroppableList();		//jContentPanel = new JPanel(new GridBagLayout());		jResize = new JCheckBox();		jInspector = new JPanel(new GridBagLayout());		captionLabel = new JLabel();		jCaption = new JTextArea();		jDivider = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);		jScrollPane.setBorder(new TitledBorder(BorderFactory.createEmptyBorder(), GRI18n.getString(MODULE, "pictures")));		jUpload.setText(GRI18n.getString(MODULE, "Upload"));		jAdd.setText(GRI18n.getString(MODULE, "Add"));		JPanel jButtonPanel = new JPanel();		jButtonPanel.setLayout(new GridLayout(1, 2, 5, 0));		jButtonPanel.add(jAdd);		jButtonPanel.add(jUpload);		jResize.setToolTipText("<html>Resize pictures before uploading them for a faster upload.<br>The " +		"high-resolution original will not be available online.</html>");		jResize.setText(GRI18n.getString(MODULE, "ResizeBeforeUpload"));		captionLabel.setText(GRI18n.getString(MODULE, "Caption") + "            ");		jScrollPane.getViewport().add(jPicturesList, null);		if (!GalleryRemote._().properties.getBooleanProperty(APPLET_SHOW_RESIZE, true)) {			jResize.setVisible(false);		}		jCaption.setLineWrap(true);		jCaption.setEditable(false);		jCaption.setFont(UIManager.getFont("Label.font"));		jCaption.setBackground(UIManager.getColor("TextField.inactiveBackground"));		jDivider.setBorder(null);		jDivider.setOneTouchExpandable(true);		//jDivider.setResizeWeight(.75);		jDivider.setDividerLocation(GalleryRemote._().properties.getIntProperty(APPLET_DIVIDER_LOCATION));		jScrollPane.setMinimumSize(new Dimension(100, 0));		jInspector.setMinimumSize(new Dimension(0, 0));		jDivider.setLeftComponent(jScrollPane);		jDivider.setRightComponent(jInspector);//		jContentPanel.add(jScrollPane,           new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0//            ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));//		jContentPanel.add(jInspector,   new GridBagConstraints(1, 0, 1, 2, 0.0, 0.0//				,GridBagConstraints.CENTER, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));		jInspector.add(captionLabel,    new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 0), 0, 0));		jInspector.add(jCaption,    new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0				,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 5, 5, 5), 0, 0));		this.getContentPane().setLayout(new GridBagLayout());		this.getContentPane().add(jDivider,      new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0            ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));		this.getContentPane().add(jResize,     new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0				,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 5, 0, 0), 0, 0));		this.getContentPane().add(jButtonPanel,         new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0            ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 5, 5, 5), 0, 0));		this.getContentPane().add(jStatusBar,      new GridBagConstraints(0, 3, 1, 1, 1.0, 0.0            ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));		jAdd.addActionListener(this);		jUpload.addActionListener(this);		jCaption.getDocument().addDocumentListener(this);		jPicturesList.addListSelectionListener(this);		jResize.addActionListener(this);		jPicturesList.addKeyListener(				new KeyAdapter() {					public void keyPressed(KeyEvent e) {						jListKeyPressed(e);					}				});		Class jsobject = null;		try {			jsobject = Class.forName("netscape.javascript.JSObject");			Method getWindow = jsobject.getMethod("getWindow", new Class[] {Applet.class});			call = jsobject.getMethod("call", new Class[] {String.class, Object[].class});			window = getWindow.invoke(null, new Object[] { this });		} catch (ClassNotFoundException e) {			Log.logException(Log.LEVEL_ERROR, MODULE, e);		} catch (IllegalAccessException e) {			Log.logException(Log.LEVEL_ERROR, MODULE, e);		} catch (NoSuchMethodException e) {			Log.logException(Log.LEVEL_ERROR, MODULE, e);		} catch (InvocationTargetException e) {			Log.logException(Log.LEVEL_ERROR, MODULE, e);		}	}