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. 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.)
我正在寻找一个体面的十六进制查看器(只读;我不需要编辑器)GUI组件,我可以在我的Swing GUI中使用。那里有什么吗?我想我可以写自己的,但我希望避免这样做。 (也可以将某些字节呈现为彩色/粗体以突出显示特定字节。)
edit: this is for displaying the contents of a ByteBuffer in memory.
编辑:这用于在内存中显示ByteBuffer的内容。
4 个解决方案
#1
Have you tried http://fifesoft.com/#/hexeditor ?
你试过http://fifesoft.com/#/hexeditor吗?
HexEditor is a hex editor component, written in Swing. Its feature set includes:
HexEditor是一个十六进制编辑器组件,用Swing编写。其功能集包括:
Cut, copy, paste, delete Undo/redo ASCII view of file content Input validation
剪切,复制,粘贴,删除文件内容的撤消/重做ASCII视图输入验证
It is released under a BSD-style license.
它是在BSD风格的许可下发布的。
#3
I am currently developing
我目前正在开发中
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. Work in progress ;)
组件本身在某种程度上已经成熟,但仍然缺少某些功能(如复制/剪切/粘贴)。还有一个GUI,它提供了一个工作的HexEditor,它也显示了如何使用。工作正在进行中 ;)
#4
Hexadecimal component / editor written in Swing under Apache License V2.
在Apache License V2下用Swing编写的十六进制组件/编辑器。
It should be usable as viewer component too and you should be able to colorize characters overriding painter with your custom implementation.
它也应该可以作为查看器组件使用,您应该能够使用自定义实现为覆盖画家的字符着色。
#1
Have you tried http://fifesoft.com/#/hexeditor ?
你试过http://fifesoft.com/#/hexeditor吗?
HexEditor is a hex editor component, written in Swing. Its feature set includes:
HexEditor是一个十六进制编辑器组件,用Swing编写。其功能集包括:
Cut, copy, paste, delete Undo/redo ASCII view of file content Input validation
剪切,复制,粘贴,删除文件内容的撤消/重做ASCII视图输入验证
It is released under a BSD-style license.
它是在BSD风格的许可下发布的。
#2
Java Hex Editor Component. It's old but working fine
Java Hex Editor组件。它虽旧但工作正常
#3
I am currently developing
我目前正在开发中
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. Work in progress ;)
组件本身在某种程度上已经成熟,但仍然缺少某些功能(如复制/剪切/粘贴)。还有一个GUI,它提供了一个工作的HexEditor,它也显示了如何使用。工作正在进行中 ;)
#4
Hexadecimal component / editor written in Swing under Apache License V2.
在Apache License V2下用Swing编写的十六进制组件/编辑器。
It should be usable as viewer component too and you should be able to colorize characters overriding painter with your custom implementation.
它也应该可以作为查看器组件使用,您应该能够使用自定义实现为覆盖画家的字符着色。