> Does anyone know where I could find some useful code to create a
> Hexadecimal
> editor to show my file .dat? I want open window authomatically.
>
> Thanks
> Palmis
You might want to take a look at
<http://dawes.za.net/gitweb.cgi?p=dawes.za.net/webscarab.git;a=blob;h=e7deaf98db5
a496aabc20db2447bccf2ae9929f5;hb=7578eea551cc424a61321560d4372c4f42a65d41;f=src/
org/owasp/webscarab/ui/swing/editors/HexPanel.java>
which is a Hex viewer/editor as used in WebScarab.
You're welcome to modify it to your purposes.
Rogan
> Does anyone know where I could find some useful code to create a
> Hexadecimal
> editor to show my file .dat? I want open window authomatically.
I'm not sure what that last statement, "I want open window
authomatically.", means, but if you want guidelines on writing a hex editor,
it's not much different from writing a "normal" text editor. The only
difference is instead of reading in bytes, and interpreting them as ASCII,
UTF-8 or some other encoding, you just treat them as raw bytes.
- Oliver