简体   繁体   English

用于Java Swing的十六进制查看器/编辑器GUI组件?

[英]hex viewer/editor GUI component for Java Swing?

I'm looking for a decent hex viewer (read-only; I don't need an editor) GUI component that I can use within my Swing GUI. 我正在寻找一个体面的十六进制查看器(只读;我不需要编辑器)GUI组件,我可以在我的Swing GUI中使用。 Is there anything out there? 那里有什么吗? I suppose I could write my own, but am hoping to avoid doing this. 我想我可以写自己的,但我希望避免这样做。 (also it would be nice to be able to render certain bytes as colorized/bold to highlight particular bytes in question.) (也可以将某些字节呈现为彩色/粗体以突出显示特定字节。)

edit: this is for displaying the contents of a ByteBuffer in memory. 编辑:这是用于在内存中显示ByteBuffer的内容。

Have you tried http://fifesoft.com/#/hexeditor ? 你试过http://fifesoft.com/#/hexeditor吗?

HexEditor is a hex editor component, written in Swing. HexEditor是一个十六进制编辑器组件,用Swing编写。 Its feature set includes: 其功能集包括:

Cut, copy, paste, delete Undo/redo ASCII view of file content Input validation 剪切,复制,粘贴,删除文件内容的撤消/重做ASCII视图输入验证

It is released under a BSD-style license. 它是在BSD风格的许可下发布的。

Java Hex Editor Component . Java Hex Editor组件 It's old but working fine 它很旧但工作正常

I am currently developing 我目前正在开发中

http://hexedit-lib.sourceforge.net/ http://hexedit-lib.sourceforge.net/

the component itself is somehow mature, but some features are still missing (like Copy/Cut/Paste). 组件本身在某种程度上已经成熟,但仍然缺少某些功能(如复制/剪切/粘贴)。 There is a GUI as well which provides a working HexEditor which shows as well how to use. 还有一个GUI,它提供了一个工作的HexEditor,它也显示了如何使用。 Work in progress ;) 工作正在进行中 ;)

Hexadecimal component / editor written in Swing under Apache License V2. 在Apache License V2下用Swing编写的十六进制组件/编辑器。

http://deltahex.exbin.org http://deltahex.exbin.org

It should be usable as viewer component too and you should be able to colorize characters overriding painter with your custom implementation. 它也应该可以用作查看器组件,你应该能够使用自定义实现为使用画家的字符着色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM