mirror of
https://github.com/workinghard/GuitarTeX2.git
synced 2025-12-13 18:32:09 +00:00
bugfix
This commit is contained in:
@@ -205,7 +205,9 @@ class GTXConsole extends JFrame implements ActionListener{
|
||||
String prefix = this.now() + " # ";
|
||||
text = text.replaceAll("\n", "\n" + prefix);
|
||||
mShowArea.setText(mShowArea.getText() + "\n" + prefix + text);
|
||||
//System.out.println(text);
|
||||
// TODO: Make silent output configurable
|
||||
// Uncomment this line if you don't want console output
|
||||
System.out.println(text);
|
||||
}
|
||||
|
||||
private String now() {
|
||||
|
||||
@@ -81,7 +81,7 @@ public class WarningBox extends JFrame implements ActionListener {
|
||||
if (bodyFont == null) {
|
||||
bodyFont = new Font("SansSerif", Font.PLAIN, 10);
|
||||
}
|
||||
java.net.URL imgURL = WarningBox.class.getResource("images/info.png");
|
||||
java.net.URL imgURL = WarningBox.class.getResource("/images/info.png");
|
||||
ImageIcon icon = new ImageIcon(imgURL, "");
|
||||
Panel imagePanel = new Panel(new GridBagLayout());
|
||||
Panel textPanel = new Panel(new GridBagLayout());
|
||||
|
||||
Reference in New Issue
Block a user