jPanel1.add( jLabel1, new GridBagConstraints( 0, 0, 1, 1, 0.0, 0.0
jTopPanel.add( jLabel1, new GridBagConstraints( 0, 0, 1, 1, 0.0, 0.0
	private void jbInit()			throws Exception {//{{{		setDefaultCloseOperation( WindowConstants.DO_NOTHING_ON_CLOSE );		getContentPane().setLayout( new GridBagLayout() );		jPanel1.setLayout( new GridBagLayout() );		jPanel3.setLayout( gridLayout1 );		gridLayout1.setHgap( 5 );		jPanel2.setLayout(new BorderLayout());		jLabel1.setText( grRes.getString(MODULE, "Gallery_URL") );		jLoginButton.setText( grRes.getString(MODULE, "Log_in") );		jLoginButton.setToolTipText(grRes.getString(MODULE, "loginButtonTip") );		jLoginButton.setActionCommand( "Fetch" );		jLoginButton.setIcon(iLogin);		jNewAlbumButton.setText(grRes.getString(MODULE, "newAlbmBtnTxt"));		jNewAlbumButton.setToolTipText(grRes.getString(MODULE, "newAlbmBtnTip"));		jNewAlbumButton.setActionCommand( "NewAlbum" );		jNewAlbumButton.setIcon(iNewAlbum);		jUploadButton.setText( grRes.getString(MODULE, "upldBtnTxt") );		jUploadButton.setActionCommand( "Upload" );		jUploadButton.setToolTipText( grRes.getString(MODULE, "upldBtnTip") );		jInspectorDivider.setOrientation(JSplitPane.HORIZONTAL_SPLIT);		jInspectorDivider.setBorder( new TitledBorder( BorderFactory.createEtchedBorder( Color.white, new Color( 148, 145, 140 ) ), grRes.getString(MODULE, "inspDvdr") ) );		jPanel1.setBorder( new TitledBorder( BorderFactory.createEtchedBorder( Color.white, new Color( 148, 145, 140 ) ), grRes.getString(MODULE, "panel1")) );		jBrowseButton.setText( grRes.getString(MODULE, "brwsBtnTxt"));		jBrowseButton.setActionCommand( "Browse" );		jBrowseButton.setToolTipText(grRes.getString(MODULE, "brwsBtnTip"));		jSortButton.setText(grRes.getString(MODULE, "sortBtnTxt"));		jSortButton.setActionCommand( "Sort" );		jSortButton.setToolTipText(grRes.getString(MODULE, "sortBtnTip"));		jGalleryCombo.setActionCommand("Url");		jGalleryCombo.setToolTipText(grRes.getString(MODULE, "gllryCombo"));		jMenuFile.setText( grRes.getString(MODULE, "menuFile" ));		jMenuItemSave.setText( grRes.getString(MODULE, "menuSave" ));		jMenuItemSave.setActionCommand( "File.Save" );		jMenuItemSave.setIcon(iSave);		jMenuItemSave.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, ActionEvent.CTRL_MASK));		jMenuItemOpen.setText( grRes.getString(MODULE, "menuOpen"));		jMenuItemOpen.setActionCommand( "File.Open" );		jMenuItemOpen.setIcon(iOpen);		jMenuItemOpen.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, ActionEvent.CTRL_MASK));		jMenuItemQuit.setText( grRes.getString(MODULE, "menuQuit" ));		jMenuItemQuit.setActionCommand( "File.Quit" );		jMenuItemQuit.setIcon(iQuit);		jMenuItemQuit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.CTRL_MASK));		jMenuEdit.setText( grRes.getString(MODULE, "menuEdit" ));		jMenuItemCut.setText( grRes.getString(MODULE, "menuCut" ));		jMenuItemCut.setActionCommand( "Edit.Cut" );		jMenuItemCut.setIcon(iCut);		jMenuItemCut.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.CTRL_MASK));		jMenuItemCopy.setText( grRes.getString(MODULE, "menuCopy" ));		jMenuItemCopy.setActionCommand( "Edit.Copy" );		jMenuItemCopy.setIcon(iCopy);		jMenuItemCopy.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C, ActionEvent.CTRL_MASK));		jMenuItemPaste.setText( grRes.getString(MODULE, "menuPaste" ));		jMenuItemPaste.setActionCommand( "Edit.Paste" );		jMenuItemPaste.setIcon(iPaste);		jMenuItemPaste.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_V, ActionEvent.CTRL_MASK));		jMenuOptions.setText( grRes.getString(MODULE, "menuOptions") );		jCheckBoxMenuThumbnails.setActionCommand( "Options.Thumbnails" );		jCheckBoxMenuThumbnails.setText( grRes.getString(MODULE, "cbmenuThumb") );		jCheckBoxMenuPreview.setActionCommand( "Options.Preview" );		jCheckBoxMenuPreview.setText( grRes.getString(MODULE, "cbmenuPreview") );		jCheckBoxMenuPath.setActionCommand( "Options.Path" );		jCheckBoxMenuPath.setText( grRes.getString(MODULE, "cbmenuPath") );		jMenuItemPrefs.setText( grRes.getString(MODULE, "menuPref"));		jMenuItemPrefs.setActionCommand( "Options.Prefs" );		jMenuItemPrefs.setIcon(iPreferences);		jMenuHelp.setText( grRes.getString(MODULE, "menuHelp") );		jMenuItemAbout.setActionCommand( "Help.About" );		jMenuItemAbout.setText( grRes.getString(MODULE, "menuAbout") );		jMenuItemAbout.setIcon(iAbout);		jNewGalleryButton.setText(grRes.getString(MODULE, "newGalleryBtn"));		jNewGalleryButton.setActionCommand("NewGallery");		jNewGalleryButton.setIcon(iNewGallery);		jInspectorPanel.setLayout(jInspectorCardLayout);		jPictureScroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);		jPictureScroll.setBorder(new TitledBorder(BorderFactory.createEmptyBorder(),grRes.getString(MODULE, "pictures")));		jAlbumScroll.setBorder(new TitledBorder(BorderFactory.createEmptyBorder(),grRes.getString(MODULE, "albums")));		this.getContentPane().add( jPanel1, new GridBagConstraints( 0, 0, 1, 1, 1.0, 0.0				, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets( 2, 2, 2, 2 ), 0, 0 ) );		jPanel1.add( jLabel1, new GridBagConstraints( 0, 0, 1, 1, 0.0, 0.0				, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets( 0, 0, 0, 5 ), 0, 0 ) );		this.getContentPane().add( jInspectorDivider, new GridBagConstraints( 0, 1, 1, 1, 1.0, 1.0				, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets( 0, 2, 2, 2 ), 0, 0 ) );		jInspectorDivider.add(jInspectorPanel, JSplitPane.RIGHT);		jInspectorDivider.add(jAlbumPictureDivider, JSplitPane.LEFT);		jInspectorPanel.add(jPictureInspector,  CARD_PICTURE);		jInspectorPanel.add(jAlbumInspector,  CARD_ALBUM);		jAlbumPictureDivider.add(jPictureScroll, JSplitPane.RIGHT);		jAlbumPictureDivider.add(jPanel2, JSplitPane.LEFT);		jPanel2.add(jAlbumScroll, BorderLayout.CENTER);		jPanel2.add(jNewAlbumButton,  BorderLayout.SOUTH);		jAlbumScroll.getViewport().add(jAlbumTree, null);		jPictureScroll.getViewport().add(jPicturesList, null);		this.getContentPane().add( jPanel3, new GridBagConstraints( 0, 2, 1, 1, 1.0, 0.0				, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets( 5, 5, 5, 5 ), 0, 0 ) );		jPanel3.add( jBrowseButton, null );		jPanel3.add( jSortButton, null);		jPanel3.add( jUploadButton, null );		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 ) );		jPanel1.add( jGalleryCombo,  new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0) );		jPanel1.add(jNewGalleryButton,     new GridBagConstraints(3, 0, 1, 1, 0.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 5), 0, 0));		jPanel1.add(jLoginButton,  new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0				,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 0), 0, 0));		jMenuBar1.add( jMenuFile );		jMenuBar1.add( jMenuEdit );		jMenuBar1.add( jMenuOptions );		jMenuBar1.add( jMenuHelp );		jMenuFile.add( jMenuItemOpen );		jMenuFile.add( jMenuItemSave );		// in the event the library we use to save is missing, dim the menus		try {			new JSX.ObjOut();		} catch (Throwable t) {			jMenuItemOpen.setEnabled(false);			jMenuItemSave.setEnabled(false);		}		if (!IS_MAC_OS_X) {			jMenuFile.addSeparator();			jMenuFile.add( jMenuItemQuit );			jMenuHelp.add( jMenuItemAbout );		}		jMenuEdit.add( jMenuItemCut );		jMenuEdit.add( jMenuItemCopy );		jMenuEdit.add( jMenuItemPaste );		jMenuOptions.add( jCheckBoxMenuThumbnails );		jMenuOptions.add( jCheckBoxMenuPreview );		jMenuOptions.add( jCheckBoxMenuPath );		if (!IS_MAC_OS_X) {			jMenuOptions.addSeparator();			jMenuOptions.add( jMenuItemPrefs );		}	}//}}}