SHEF is an HTML editing framework and component for the Java Swing GUI library. It can be plugged into the javax.swing.JEditorPane text component, adding usable HTML WYSIWYG editing capabilities. In addition, it works around various JEditorPane quirks and adds functionality currently missing from the standard Swing text implementation. It includes an HTML source editor with syntax highlighting, context-sensitive Swing actions, unlimited undo/redo, table creation and editing, click+drag resizable tables, and click+drag resizable images. It is easily embeddable in Swing applications or applets.