couple small tweaks

This commit is contained in:
benfry
2006-03-10 23:37:22 +00:00
parent 71bfa9f772
commit 9d949e0460
2 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ public class DiscourseFormat /*extends JPanel implements WindowListener*/ {
// False listener (no NullPointerException at processKeyEvent,
// but gives other problems like the § on the Tab)
DiscourseListener listener;
//DiscourseListener listener;
JFrame frame;
@@ -71,7 +71,7 @@ public class DiscourseFormat /*extends JPanel implements WindowListener*/ {
//frame.addWindowListener(this);
//listener = new DiscourseListener(textarea);
wlistener = parent.editorListener;
//textarea.editorListener = parent.editorListener;
//Make sure we have nice window decorations.
//Sure... false, false...
@@ -100,6 +100,7 @@ public class DiscourseFormat /*extends JPanel implements WindowListener*/ {
// Display the window
frame.pack();
frame.setLocation(100, 100);
//frame.setVisible(true);
}