BinEd Component Library
Free and open source library for binary/hex viewer/editor component written in Java.
Downloads
Release | Stable | Development |
---|---|---|
Library | 0.2.1 [2023-12-30] | 0.2.1 [2023-11-25] |
Features
- Visualize data as numerical (hexadecimal) codes and text representation
- Codes can be also binary, octal or decimal
- Insert and overwrite edit modes
- Support for selection and clipboard actions
- Scrollbars fixed or optional, character/line or pixel precision
- Support for showing unprintable/whitespace characters
- Support for undo/redo
- Support for encoding selection
- Searching for text / hexadecimal code with matching highlighting
- Support for data sources up to exabytes
- Delta mode - Only changes are stored in memory
Web Demo
You can try BinEd library example running in browser.
Using CheerpJ by Leaning Technologies.
Limitations
- Only Swing components are currently usable
Known Issues
- In current version tab key works only if CodeArea has set: setFocusTraversalKeysEnabled(false);
Usage
Example component usage screenshot:
You can use this component for your own project using one of the following methods:
- Download library and include it with your project
- Download sources and modify it for your needs
- Import library using Maven (groupId:artifactId:version):
org.exbin.bined:bined-swing:0.2.1
org.exbin.auxiliary:binary_data:0.2.1
To use the component, create new instance and fill it with some data.
public class BinEdExample { public static void main(String[] args) { final JFrame frame = new JFrame("BinEd Frame"); CodeArea codeArea = new CodeArea(); codeArea.setContentData(new ByteArrayEditableData(new byte[]{1, 2, 3})); frame.add(codeArea); frame.setSize(1000, 600); frame.setVisible(true); } }
Source Codes
GitHub Repository |
---|
exbin/bined-lib-java |