mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-22 02:45:34 +00:00
format code: blank lines
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 JPEXS
|
||||
*
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
@@ -42,13 +42,21 @@ import javax.swing.table.TableModel;
|
||||
public class HexView extends JTable {
|
||||
|
||||
private static final int bytesInRow = 16;
|
||||
|
||||
private long[] highlightStarts;
|
||||
|
||||
private long[] highlightEnds;
|
||||
|
||||
private final String[] highlightColorsStr = new String[]{/*"EEEEEE", */"29AEC2", "9AC88C", "DF5F80", "EEA32E", "FFD200", "5E9B4C", "D3E976", "A3AEC2"};
|
||||
|
||||
private final Color[] highlightColors;
|
||||
|
||||
private final Color bgColor = Color.decode("#F7F7F7");
|
||||
|
||||
private final Color bgColorAlternate = Color.decode("#EDEDED");
|
||||
|
||||
private int mouseOverIdx = -1;
|
||||
|
||||
private HexViewListener listener;
|
||||
|
||||
private class HighlightCellRenderer extends DefaultTableCellRenderer {
|
||||
|
||||
Reference in New Issue
Block a user