changes for wheelmouse auto-detect, and incorporating video

This commit is contained in:
benfry
2003-04-29 15:52:30 +00:00
parent 4ddb6ae7a8
commit ff73b7bbad
10 changed files with 124 additions and 34 deletions

View File

@@ -331,13 +331,24 @@ public class PdeEditor extends Panel {
// windowActivated doesn't seem to do much, so focus listener better
presentationWindow.addFocusListener(new FocusAdapter() {
public void focusGained(FocusEvent e) {
//System.out.println("focusGained: " + e);
//if (frame != null) frame.toFront(); // editor to front
try {
//System.out.println("moving to front");
engine.window.toFront();
} catch (Exception ex) { }
}
});
/*
presentationWindow.addWindowListener(new WindowAdapter() {
public void windowActivated(WindowEvent e) {
//System.out.println(e);
//PdeEditorConsole.systemOut.println(e);
}
});
*
/*
Document doc = textarea.document;
//System.out.println(doc);