format code

This commit is contained in:
Honfika
2014-01-22 17:29:16 +01:00
parent 863cf1d387
commit 41e9e58c31
199 changed files with 1479 additions and 1742 deletions

View File

@@ -164,14 +164,13 @@ public class LoadFromMemoryFrame extends AppFrame implements ActionListener {
private void addResultRow(SwfInMemory swf) {
if (swf != null) {
com.jpexs.process.Process process = swf.process;
resTableModel.addRow(new Object[] {swf.version, swf.fileSize, process.getPid(), process.getFileName()});
}
else {
resTableModel.addRow(new Object[]{swf.version, swf.fileSize, process.getPid(), process.getFileName()});
} else {
String notFound = translate("notfound");
resTableModel.addRow(new Object[] {notFound, 0, "", ""});
resTableModel.addRow(new Object[]{notFound, 0, "", ""});
}
}
private void refreshList() {
model.clear();
processlist = ProcessTools.listProcesses();
@@ -386,8 +385,6 @@ public class LoadFromMemoryFrame extends AppFrame implements ActionListener {
progress.setVisible(false);
rightPanel.add(statePanel, BorderLayout.NORTH);
cnt.add(new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftPanel, rightPanel), BorderLayout.CENTER);
View.setWindowIcon(this);
View.centerScreen(this);