This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// first download the swt jar, in this instance to "swt/win32.jar" | |
// then compile like javac -cp swt/win32.jar TextEditor.java | |
// then run like java -cp .;swt/win32.jar TextEditor | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.ResourceBundle; | |
import java.util.Vector; | |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.custom.ExtendedModifyEvent; |