save fix when compression changed to lzma, allow to compress to lzma from command line. also allow to recompress from command line (e.g lzma=>zlib)

This commit is contained in:
honfika@gmail.com
2015-06-15 16:08:23 +02:00
parent 2bfd41902d
commit 29e3f43102
4 changed files with 138 additions and 83 deletions

View File

@@ -242,7 +242,7 @@ public class HeaderInfoPanel extends JPanel implements TagEditorPanel {
public void load(SWF swf) {
this.swf = swf;
signatureLabel.setText(swf.getHeaderBytes());
signatureLabel.setText(new String(swf.getHeaderBytes()));
switch (swf.compression) {
case LZMA:
compressionLabel.setText(AppStrings.translate("header.compression.lzma"));