https://github.com/hakanai/hex-components
Library components for hex viewing
https://github.com/hakanai/hex-components
hexviewer java swing
Last synced: about 1 month ago
JSON representation
Library components for hex viewing
- Host: GitHub
- URL: https://github.com/hakanai/hex-components
- Owner: hakanai
- License: lgpl-3.0
- Created: 2012-11-10T04:35:09.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T20:37:32.000Z (over 1 year ago)
- Last Synced: 2024-02-29T21:54:07.149Z (over 1 year ago)
- Topics: hexviewer, java, swing
- Language: Java
- Size: 35.7 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: COPYING
Awesome Lists containing this project
README
Hex Components - A simple hex viewer written in Java.
Copyright (C) 2009-2014,2016-2017,2021 Hakanai, Hex Project
Usage
-----For now, see the example in the `examples/` subfolder.
UI Defaults
-----------`HexViewer` supports the following additional UI defaults.
In all cases, if a value is absent, sensible fallback logic is used to derive a value.| UI default | Fallback |
| -------------------------------- | ---------------------------------------- |
| `HexViewer.background` | `TextArea.background` |
| `HexViewer.foreground` | `TextArea.foreground` |
| `HexViewer.selectionBackground` | `TextArea.selectionBackground` |
| `HexViewer.selectionForeground` | `TextArea.selectionForeground` |
| `HexViewer.cursorBackground` | Darker version of `selectionBackground` |
| `HexViewer.cursorForeground` | `selectionForeground` |
| `HexViewer.cursorRowBackground` | Lighter version of `selectionBackground` |
| `HexViewer.offsetForeground` | Lighter version of `foreground` |
| `HexViewer.font` | `TextArea.font` |Building
--------You'll need a Java build environment. I'm developing this on Java 11 at
the moment.To build, execute `gradlew build` in the top project. Jar files will be
created in the `build/libs` folder of each subproject.