public class MDIApplicationTutorial extends MDIApplication
Note that there appears to be a bug in jdk1.2 with the keyboard handling in JEditorPane. Maximizing one of the internal frames loses the event hooks that the JEditorPane uses for keyboard input. This is fixed in jdk1.3.
Constructor and Description |
---|
MDIApplicationTutorial(DesktopContext context) |
Modifier and Type | Method and Description |
---|---|
View |
createView(Document d)
Create a view on the given document.
|
java.lang.String |
getTitle()
Get the title of this application
|
void |
initializeApp()
Initialize the application.
|
void |
initializeMenuBar(javax.swing.JMenuBar menuBar)
Initialize the menu bar
|
void |
initializeToolBar(javax.swing.JToolBar tb)
Initialize the given toolbar.
|
static void |
main(java.lang.String[] argv)
Construct a new instance of the Tutorial, running in a new
application context.
|
addView, getMDIContext, getView, removeView, setCurrentView
actions, addAction, addDocument, addDocumentListener, addMenuItem, addMenuItem, addPropertyChangeListener, addToolBarButton, addToolBarButton, addViewListener, closeDocument, closeView, documentList, getAction, getAppContext, getClipboard, getCurrentView, getDocumentFactory, getResources, getStoragePolicy, isVisible, removeDocument, removeDocumentListener, removePropertyChangeListener, removeViewListener, setAppContext, setClipboard, setDocumentFactory, setStoragePolicy, setVisible, showError, viewList, viewList
public MDIApplicationTutorial(DesktopContext context)
public static void main(java.lang.String[] argv)
public View createView(Document d)
createView
in interface Application
createView
in class MDIApplication
public java.lang.String getTitle()
getTitle
in interface Application
getTitle
in class AbstractApplication
public void initializeApp()
public void initializeMenuBar(javax.swing.JMenuBar menuBar)
public void initializeToolBar(javax.swing.JToolBar tb)