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.
|
String |
getTitle()
Get the title of this application
|
void |
initializeApp()
Initialize the application.
|
void |
initializeMenuBar(JMenuBar menuBar)
Initialize the menu bar
|
void |
initializeToolBar(JToolBar tb)
Initialize the given toolbar.
|
static void |
main(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(String[] argv)
public View createView(Document d)
createView
in interface Application
createView
in class MDIApplication
public String getTitle()
getTitle
in interface Application
getTitle
in class AbstractApplication
public void initializeApp()
public void initializeMenuBar(JMenuBar menuBar)
public void initializeToolBar(JToolBar tb)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.