mirror of
https://github.com/Maschell/JNUSTool.git
synced 2024-06-02 15:38:47 +02:00
85f87c57bb
- Decryption from files - Decryption to new folder structures - updates csv with version numbers - download and decrypt different versions (gui only)
22 lines
449 B
Java
22 lines
449 B
Java
package de.mas.jnustool;
|
|
|
|
import javax.swing.JFrame;
|
|
import javax.swing.JOptionPane;
|
|
|
|
import de.mas.jnustool.gui.NUSGUI;
|
|
|
|
public class Logger {
|
|
|
|
public static void log(String string) {
|
|
NUSGUI.output.append(string + "\n");
|
|
NUSGUI.output.setCaretPosition(NUSGUI.output.getDocument().getLength());
|
|
System.out.println(string);
|
|
|
|
}
|
|
|
|
public static void messageBox(String string) {
|
|
JOptionPane.showMessageDialog(new JFrame(), string);
|
|
}
|
|
|
|
}
|