int top = position.equals(DockableWindowManager.BOTTOM) ? 5 : 0; int left = position.equals(DockableWindowManager.RIGHT) ? 5 : 0; int bottom = position.equals(DockableWindowManager.TOP) ? 5 : 0; int right = position.equals(DockableWindowManager.LEFT) ? 5 : 0;
int top = position.equals(DockableWindowManager.BOTTOM) ? SPLITTER_WIDTH : 0; int left = position.equals(DockableWindowManager.RIGHT) ? SPLITTER_WIDTH : 0; int bottom = position.equals(DockableWindowManager.TOP) ? SPLITTER_WIDTH : 0; int right = position.equals(DockableWindowManager.LEFT) ? SPLITTER_WIDTH : 0;
		public void propertiesChanged()		{			int top = position.equals(DockableWindowManager.BOTTOM) ? 5 : 0;			int left = position.equals(DockableWindowManager.RIGHT) ? 5 : 0;			int bottom = position.equals(DockableWindowManager.TOP) ? 5 : 0;			int right = position.equals(DockableWindowManager.LEFT) ? 5 : 0;			setBorder(new MatteBorder(top,left,bottom,right,				GUIUtilities.parseColor(jEdit.getProperty(				"view.docking.borderColor"))));			int tabsPos = Integer.parseInt(jEdit.getProperty(				"view.docking.tabsPos"));			if(tabsPos == 0)				setTabPlacement(JTabbedPane.TOP);			else if(tabsPos == 1)				setTabPlacement(JTabbedPane.BOTTOM);		}