CPD Results

The following document contains the results of PMD's CPD 4.3.

Duplications

FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java96
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java144
	private void paintPositionBar(final Graphics2D g2d, final boolean zoomedOut) {
		final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
		final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
		double offset = 0d;
		double margin = 0d;
		if (zoomedOut) {
			offset = majorGraduationSpacing / zoom;
			offset = Math.ceil(offset);
			margin = (1d / zoom) / 2d;
		} else {
			offset = majorGraduationSpacing * zoom;
			offset = Math.round(offset);
			margin = (1d / zoom) / 2d;
		}

		g2d.setColor(majorGraduationColor);
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java111
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java159
		g2d.setColor(majorGraduationColor);

		// Find first position marker placement
		double nextPositionMarker = getFirstPositionMarkerPlacement();

		// Paint left to right
		double position = graphPosition - majorGraduationSpacing;

		// TODO It's ugly having the - on the left side of the cast,
		// but moving it *could* change behavior, so leaving it alone and
		// adding this instead!
		for (int i = -(int) offset; i < this.getWidth() + (int) offset; i++) {
			if (position >= nextPositionMarker - margin) {
				int xCoord = i;
				if (xCoord >= 0 && xCoord < validSnappingPositions.length && !validSnappingPositions[xCoord]) {
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java63
org/diyefi/openlogviewer/graphing/InfoPanel.java63
		setGraduationSpacing();
	}

	@Override
	public final void paintComponent(final Graphics g) {
		super.paintComponent(g);

		if (!this.getSize().equals(this.getParent().getSize())) {
			this.setSize(this.getParent().getSize());
		}
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java64
org/diyefi/openlogviewer/graphing/InfoPanel.java64
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java99
	}

	@Override
	public final void paintComponent(final Graphics g) {
		super.paintComponent(g);

		if (!this.getSize().equals(this.getParent().getSize())) {
			this.setSize(this.getParent().getSize());
		}
FileLine
org/diyefi/openlogviewer/graphing/InfoPanel.java106
org/diyefi/openlogviewer/graphing/InfoPanel.java136
					final MultiGraphLayeredPane multigGraph = OpenLogViewer.getInstance().getMultiGraphLayeredPane();
					for (int i = 0; i < multigGraph.getComponentCount(); i++) {
						if (multigGraph.getComponent(i) instanceof SingleGraphPanel) {
							final SingleGraphPanel singleGraph = (SingleGraphPanel) multigGraph.getComponent(i);
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java591
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java630
				for (int i = position; i < 0; i += zoom) {
					dataPointsToDisplay[nextAarrayIndex] = -Double.MAX_VALUE;
					dataPointRangeInfo[nextAarrayIndex][0] = -Double.MAX_VALUE;
					dataPointRangeInfo[nextAarrayIndex][1] = -Double.MAX_VALUE;
					dataPointRangeInfo[nextAarrayIndex][2] = -Double.MAX_VALUE;
					nextAarrayIndex++;
				}
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java568
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java630
					} else {
						dataPointsToDisplay[nextAarrayIndex] = -Double.MAX_VALUE;
						dataPointRangeInfo[nextAarrayIndex][0] = -Double.MAX_VALUE;
						dataPointRangeInfo[nextAarrayIndex][1] = -Double.MAX_VALUE;
						dataPointRangeInfo[nextAarrayIndex][2] = -Double.MAX_VALUE;
						nextAarrayIndex++;
					}
				}
			} else {
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java737
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java754
	private void mouseWheelMovedForward(final int xMouseCoord) {
		final double center = this.getWidth() / 2.0;
		double move = 0;
		final int zoomAmount = (int) Math.sqrt(zoom);
		for (int i = 0; i < zoomAmount; i++) {
			if (zoomedOutBeyondOneToOne) {
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java568
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java591
					} else {
						dataPointsToDisplay[nextAarrayIndex] = -Double.MAX_VALUE;
						dataPointRangeInfo[nextAarrayIndex][0] = -Double.MAX_VALUE;
						dataPointRangeInfo[nextAarrayIndex][1] = -Double.MAX_VALUE;
						dataPointRangeInfo[nextAarrayIndex][2] = -Double.MAX_VALUE;
						nextAarrayIndex++;
					}
FileLine
org/diyefi/openlogviewer/genericlog/GenericLog.java141
org/diyefi/openlogviewer/genericlog/GenericLog.java182
			System.out.println(labels.getString(Text.MEMORY_BEFORE)
					+ labels.getString(Text.MEMORY_MAX) + ourRuntime.maxMemory()
					+ labels.getString(Text.MEMORY_FREE) + ourRuntime.freeMemory()
					+ labels.getString(Text.MEMORY_TOTAL) + ourRuntime.totalMemory());
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java125
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java171
				if (xCoord >= 0 && xCoord < validSnappingPositions.length && !validSnappingPositions[xCoord]) {
					if (xCoord + 1 < validSnappingPositions.length && validSnappingPositions[xCoord + 1]) {
						xCoord++;
					} else if (xCoord > 0 && validSnappingPositions[xCoord - 1]) {
						xCoord--;
					}
				}
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java491
org/diyefi/openlogviewer/OpenLogViewer.java513
			throw new RuntimeException(labels.getString(Text.IO_ISSUE_SAVING_PROPERTY) + e.getMessage(), e);
		} finally {
			try {
				if (fos != null) {
					fos.close();
				}
			} catch (IOException ioe) {
				ioe.printStackTrace();
			}
		}
	}

	private void removeApplicationWideProperty(final String key) {
FileLine
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java116
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java128
		public void componentAdded(final ContainerEvent e) {

			if (e.getChild() != null) {
				if (e.getChild() instanceof ActiveHeaderLabel) {
					((ActiveHeaderLabel) e.getChild()).setEnabled(true);
FileLine
org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java44
org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java43
		return labels.getString(Text.FREEEMS_BINARY_LOGS);
	}

	@Override
	public final boolean accept(final File file) {
		if (file.isDirectory()) {
			return true;
		}

		final String extension = Utilities.getExtension(file);

		if (FileExtensions.BIN.equals(extension)) {
FileLine
org/diyefi/openlogviewer/filefilters/CSVFileFilter.java35
org/diyefi/openlogviewer/filefilters/FreeEMSBinFileFilter.java36
org/diyefi/openlogviewer/filefilters/FreeEMSLAFileFilter.java36
org/diyefi/openlogviewer/filefilters/LogFileFilter.java35
	}

	@Override
	public final boolean accept(final File file) {
		if (file.isDirectory()) {
			return true;
		}

		final String extension = Utilities.getExtension(file);

		return FileExtensions.CSV.equals(extension);
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java59
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java85
	private static final char DS = DecimalFormatSymbols.getInstance().getDecimalSeparator();
	private static final String UNKNOWN_DIGIT = "-"; // String, not char, so we can append below
	private static final String UNKNOWN_NUMBER = UNKNOWN_DIGIT + DS + UNKNOWN_DIGIT;
	private static final String STAT_SEPARATOR = " | ";
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java96
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java144
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java343
	private void paintPositionBar(final Graphics2D g2d, final boolean zoomedOut) {
		final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
		final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
FileLine
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java525
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java392
			}

			@Override
			public void mouseEntered(final MouseEvent e) {
			}

			@Override
			public void mouseExited(final MouseEvent e) {
			}

			@Override
			public void mousePressed(final MouseEvent e) {
FileLine
org/diyefi/openlogviewer/filefilters/CSVFileFilter.java35
org/diyefi/openlogviewer/filefilters/FreeEMSBinFileFilter.java36
org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java45
org/diyefi/openlogviewer/filefilters/FreeEMSLAFileFilter.java36
org/diyefi/openlogviewer/filefilters/LogFileFilter.java35
org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java44
	}

	@Override
	public final boolean accept(final File file) {
		if (file.isDirectory()) {
			return true;
		}

		final String extension = Utilities.getExtension(file);
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java222
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java344
		final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
		final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
		final MultiGraphLayeredPane multiGraph = OpenLogViewer.getInstance().getEntireGraphingPanel().getMultiGraphLayeredPane();
FileLine
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java255
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java262
	private void updateProperties() {
		for (int i = 0; i < propertyView.getComponentCount(); i++) {
			final PropertyPanel pp = (PropertyPanel) propertyView.getComponent(i);
			pp.updateSP();
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java549
org/diyefi/openlogviewer/OpenLogViewer.java568
				System.out.print(e.getMessage());
			} finally {
				try {
					if (fis != null) {
						fis.close();
					}
				} catch (IOException ioe) {
					ioe.printStackTrace();
				}
			}
		} else {
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java97
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java145
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java222
		final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
		final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java84
org/diyefi/openlogviewer/graphing/InfoPanel.java96
				final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
				final boolean zoomedOut = OpenLogViewer.getInstance().getEntireGraphingPanel().isZoomedOutBeyondOneToOne();
FileLine
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java484
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java491
				GDE.setDisplayMaxValue(Double.parseDouble(maxField.getText()));
			} catch (NumberFormatException e) {
				e.printStackTrace();
				throw new RuntimeException(labels.getString(Text.OPV2NFES), e); // TODO
			}
FileLine
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java255
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java262
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java275
	private void updateProperties() {
		for (int i = 0; i < propertyView.getComponentCount(); i++) {
			final PropertyPanel pp = (PropertyPanel) propertyView.getComponent(i);
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java468
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java531
	public final void moveBackward() {
		int localZoom = zoom;
		if (zoomedOutBeyondOneToOne) {
			localZoom = 1;
		}
		final long now = System.currentTimeMillis();
		final long delay = now - thePastLeftArrow;
FileLine
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java601
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java610
		public void setToolTipTextFinal() {
			this.setToolTipText(labels.getString(Text.FIELD_INFORMATION_PART1) + GDE.getName()
					+ labels.getString(Text.FIELD_INFORMATION_PART2) + GDE.getMinValue()
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java214
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java343
	public final void zoomInCoarse() {
		final int zoomAmount = (int) Math.sqrt(zoom);
		for (int i = 0; i < zoomAmount; i++) {
FileLine
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java184
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java193
		ok.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(final ActionEvent e) {
				OpenLogViewer.getInstance().getPropertyPane().save();
FileLine
org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java38
org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java37
	public FreeEMSFileFilter(final ResourceBundle labels) {
		this.labels = labels;
	}

	@Override
	public final String getDescription() {
		return labels.getString(Text.FREEEMS_BINARY_LOGS);
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java806
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java815
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java824
		getActionMap().put(Keys.ENTER_FULL_SCREEN, new AbstractAction() {
			private static final long serialVersionUID = 1L;
			public void actionPerformed(final ActionEvent e) {
				OpenLogViewer.getInstance().enterFullScreen();
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java522
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java600
						double minData = Double.MAX_VALUE;
						double maxData = -Double.MAX_VALUE;
						double newData = 0.0;
						double acummulateData = 0.0;
						int divisor = 0;

						for (int j = 0; j < zoom; j++) {
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java531
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java606
								newData = gde.get(gdeIndex);
								acummulateData += newData;
								divisor++;
								if (newData < minData) {
									minData = newData;
								}

								if (newData > maxData) {
									maxData = newData;
								}
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java551
org/diyefi/openlogviewer/OpenLogViewer.java570
org/diyefi/openlogviewer/decoder/FreeEMSBin.java379
				try {
					if (fis != null) {
						fis.close();
					}
				} catch (IOException ioe) {
					ioe.printStackTrace();
FileLine
org/diyefi/openlogviewer/graphing/MultiGraphLayeredPane.java144
org/diyefi/openlogviewer/graphing/MultiGraphLayeredPane.java158
		for (int i = 0; i < getComponentCount(); i++) {
			if (getComponent(i) instanceof SingleGraphPanel) {
				final SingleGraphPanel gl = (SingleGraphPanel) getComponent(i);
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java564
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java619
						dataPointRangeInfo[nextAarrayIndex][0] = minData;
						dataPointRangeInfo[nextAarrayIndex][1] = averageData;
						dataPointRangeInfo[nextAarrayIndex][2] = maxData;
FileLine
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java393
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java402
		private final ActionListener applyButtonListener = new ActionListener() {
			@Override
			public void actionPerformed(final ActionEvent e) {
				if (GDE != null) {
					changeGDEValues();
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java481
org/diyefi/openlogviewer/OpenLogViewer.java503
	private void saveApplicationWideProperty(final String key, final String value) {
		FileOutputStream fos = null;
		try {
			final Properties appWide = new Properties();
			final File appWideFile = openAppWideProps(appWide);
			appWide.setProperty(key, value);
FileLine
org/diyefi/openlogviewer/decoder/FreeEMSBin.java509
org/diyefi/openlogviewer/decoder/FreeEMSBin.java511
			} else if (field.getType() == types.SINT8) { // TODO handle signed ints...
				decodedLog.addValue(field.getID(), rawValue);
			} else if (field.getType() == types.SINT16) {
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java215
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java344
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java740
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java757
		final int zoomAmount = (int) Math.sqrt(zoom);
		for (int i = 0; i < zoomAmount; i++) {
FileLine
org/diyefi/openlogviewer/NavBarPanel.java266
org/diyefi/openlogviewer/NavBarPanel.java328
	public final void updatePausePlayButton() {
		final boolean playing = OpenLogViewer.getInstance().getEntireGraphingPanel().isPlaying();
		if (playing) {
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java362
org/diyefi/openlogviewer/OpenLogViewer.java377
			final File fileToOpen = fileChooser.getSelectedFile();
			if (!openFile(fileToOpen, fileChooser)) {
				JOptionPane.showMessageDialog(mainAppRef, labels.getObject(Text.OPEN_FILE_ERROR_MESSAGE)
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java195
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java184
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java193
		quitFileMenuItem.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(final ActionEvent e) {
				OpenLogViewer.getInstance().quit();
FileLine
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java382
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java393
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java402
		private final ActionListener resetButtonListener = new ActionListener() {
			@Override
			public void actionPerformed(final ActionEvent e) {
				if (GDE != null) {
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java529
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java112
		if (!appWideFile.exists() || !appWideFile.canRead() || !appWideFile.canWrite()) {
			System.out.println(labels.getString(Text.HOME_DIRECTORY_NOT_ACCESSIBLE));
		} else {
FileLine
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java291
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java326
			propertyView.add(new PropertyPanel(sp), properties.indexOf(sp));
			propertyView.setPreferredSize(new Dimension(propertyView.getPreferredSize().width, propertyView.getPreferredSize().height + 60));
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java488
org/diyefi/openlogviewer/OpenLogViewer.java510
			appWide.store(fos, "saved");
		} catch (IOException e) {
			e.printStackTrace();
			throw new RuntimeException(labels.getString(Text.IO_ISSUE_SAVING_PROPERTY) + e.getMessage(), e);
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java597
org/diyefi/openlogviewer/OpenLogViewer.java599
org/diyefi/openlogviewer/OpenLogViewer.java604
		if (IS_WINDOWS || IS_LINUX) {
			window.getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(Keys.CONTROL_W), Keys.CLOSE_WINDOW);
FileLine
org/diyefi/openlogviewer/decoder/FreeEMSBin.java372
org/diyefi/openlogviewer/decoder/FreeEMSBin.java381
					bis.close();
				}
			} catch (IOException ioe) {
				ioe.printStackTrace();
				System.out.println("Failed To Close BIS Stream!");
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java203
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java208
					if (traceData != rightOfTraceData) {
						// fillRect() is 95% faster than fillOval() for a 3x3 square on Ben's dev machine
						g2d.fillRect(screenPositionXCoord - 1, screenPositionYCoord - 1, DATA_POINT_WIDTH, DATA_POINT_HEIGHT);
					}
				} else if (atTraceEnd) {
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java203
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java213
					if (traceData != rightOfTraceData) {
						// fillRect() is 95% faster than fillOval() for a 3x3 square on Ben's dev machine
						g2d.fillRect(screenPositionXCoord - 1, screenPositionYCoord - 1, DATA_POINT_WIDTH, DATA_POINT_HEIGHT);
					}
				} else if (atTraceEnd) {
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java542
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java124
						appWide.load(fis);
					}
				} else {
					throw new RuntimeException(labels.getString(Text.FAILED_TO_CREATE_DIRECTORY_MESSAGE));
					// This should be passed up to the GUI as a dialog that tells you it can't do what it has to be able to...
				}
			} catch (IOException e) {
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java540
org/diyefi/openlogviewer/OpenLogViewer.java563
					if (appWideFile.createNewFile()) {
						fis = new FileInputStream(appWideFile);
						appWide.load(fis);
					}
				} else {
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java284
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java294
			zoomIn();
			if (zoomedOutBeyondOneToOne) {
				dataPointsThatFitInDisplay = graphWindowWidth * zoom;
			} else {
				dataPointsThatFitInDisplay =  graphWindowWidth / zoom;
			}
		}
FileLine
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java797
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java806
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java815
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java824
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java833
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java842
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java851
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java860
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java869
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java878
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java889
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java900
		getActionMap().put(Keys.PLAY, new AbstractAction() {
			private static final long serialVersionUID = 1L;
			public void actionPerformed(final ActionEvent e) {
FileLine
org/diyefi/openlogviewer/NavBarPanel.java67
org/diyefi/openlogviewer/NavBarPanel.java78
org/diyefi/openlogviewer/NavBarPanel.java89
org/diyefi/openlogviewer/NavBarPanel.java100
org/diyefi/openlogviewer/NavBarPanel.java113
org/diyefi/openlogviewer/NavBarPanel.java124
org/diyefi/openlogviewer/NavBarPanel.java134
org/diyefi/openlogviewer/NavBarPanel.java145
org/diyefi/openlogviewer/NavBarPanel.java158
org/diyefi/openlogviewer/NavBarPanel.java169
org/diyefi/openlogviewer/NavBarPanel.java180
org/diyefi/openlogviewer/NavBarPanel.java191
org/diyefi/openlogviewer/NavBarPanel.java202
org/diyefi/openlogviewer/NavBarPanel.java213
org/diyefi/openlogviewer/NavBarPanel.java224
org/diyefi/openlogviewer/NavBarPanel.java237
org/diyefi/openlogviewer/NavBarPanel.java248
		zoomIn.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseReleased(final MouseEvent e) {
				if (zoomIn.contains(e.getPoint())) {
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java583
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java797
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java806
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java815
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java824
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java833
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java842
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java851
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java860
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java869
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java878
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java889
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java900
		final Action closeWindow = new AbstractAction() {
			private static final long serialVersionUID = 1L;
			public void actionPerformed(final ActionEvent e) {
FileLine
org/diyefi/openlogviewer/graphing/InfoPanel.java75
org/diyefi/openlogviewer/graphing/InfoPanel.java83
		if (genLog == null) {
			g.setColor(Color.RED);
			g.drawString(labels.getString(Text.NO_LOG_LOADED), LEFT_MARGIN_OFFSET, ONE_TEXTUAL_HEIGHT);
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java495
org/diyefi/openlogviewer/OpenLogViewer.java517
org/diyefi/openlogviewer/OpenLogViewer.java553
org/diyefi/openlogviewer/OpenLogViewer.java572
					fos.close();
				}
			} catch (IOException ioe) {
				ioe.printStackTrace();
			}
		}
	}
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java354
org/diyefi/openlogviewer/OpenLogViewer.java586
		final WindowEvent wev = new WindowEvent(this, WindowEvent.WINDOW_CLOSING);
		Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(wev);
	}
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java312
org/diyefi/openlogviewer/OpenLogViewer.java315
org/diyefi/openlogviewer/OpenLogViewer.java318
org/diyefi/openlogviewer/OpenLogViewer.java321
org/diyefi/openlogviewer/OpenLogViewer.java640
				} catch (UnsupportedLookAndFeelException e) {
					e.printStackTrace();
					System.out.println(labels.getString(Text.LOOK_AND_FEEL_EXCEPTION_MESSAGE_ONE));
FileLine
org/diyefi/openlogviewer/OpenLogViewer.java613
org/diyefi/openlogviewer/OpenLogViewer.java656
			final GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
			final GraphicsDevice[] device = ge.getScreenDevices();
FileLine
org/diyefi/openlogviewer/genericlog/GenericLog.java73
org/diyefi/openlogviewer/genericlog/GenericLog.java77
			if ((LogState) propertyChangeEvent.getNewValue() == LogState.LOG_LOADING) {
				final GenericLog genLog = (GenericLog) propertyChangeEvent.getSource();
				genLog.setLogStatus(LogState.LOG_LOADING);
FileLine
org/diyefi/openlogviewer/FramesPerSecondPanel.java93
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java135
	public final void actionPerformed(final ActionEvent e) {
		if (e.getSource().equals(sampleTimer)) {
FileLine
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java208
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java213
					if (traceData != leftOfTraceData) {
						// fillRect() is 95% faster than fillOval() for a 3x3 square on Ben's dev machine
						g2d.fillRect(screenPositionXCoord - 1, screenPositionYCoord - 1, DATA_POINT_WIDTH, DATA_POINT_HEIGHT);
					}
				} else if (insideTrace) {
FileLine
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java222
org/diyefi/openlogviewer/graphing/InfoPanel.java95
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java344
		final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
		final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
		final MultiGraphLayeredPane multiGraph = OpenLogViewer.getInstance().getEntireGraphingPanel().getMultiGraphLayeredPane();
FileLine
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java121
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java132
					if (OLVProperties.mkdir()) {
						OLVProperties = new File(homeDir.getAbsolutePath() + systemDelim + settingsDirectory + systemDelim + "OLVProperties.olv");