Each of the following items is a case where client code may be called by the
AWT-Windows thread. Everywhere this is the case, the code needs to be
modified to execute the call on the Java EventDispatchThread.
awt_Choice.cpp: AwtChoice::VerifyState() calls Choice.countItems()
awt_Choice.cpp: AwtChoice::VerifyState() calls Choice.getSelectedIndex()
awt_Component.cpp: AwtComponent::GetItemString() calls Choice/List.getItem()
awt_Component.h: AwtComponent::isEnabled() calls Component.isEnabled()
awt_Font.h: GET_FONT() macro calls Component.getFont()
awt_Frame.cpp: AwtFrame::WmSetCursor() calls WEmbeddedFrame.isCursorAllowed()
awt_Frame.cpp: AwtFrame::SetMenuBar() calls Component.resize()
awt_Frame.cpp: AwtFrame::SetMenuBar() calls Component.resize()
awt_Graphics.h: GET_JAVAFONT() macro calls Graphics.getFont()
awt_Graphics.h: JNI_GET_JAVAFONT() macro calls Graphics.getFont()
awt_Menu.cpp: AwtMenu::CountItem() calls Menu.countItems()
awt_Menu.cpp: AwtMenu::GetItem() calls Menu.getItem()
awt_MenuBar.cpp: AwtMenuBar::CountItem() calls MenuBar.getMenuCount()
awt_MenuBar.cpp: AwtMenuBar::GetItem() calls MenuBar.getMenu()
awt_PrintJob.cpp: getNumPages() calls java.awt.print.Pageable.getNumberOfPages()
awt_PrintJob.cpp: getPaper() calls java.awt.print.PageFormat.getPaper()
awt_PrintJob.cpp: setPaper() calls java.awt.print.PageFormat.setPaper()
awt_PrintJob.cpp: isPortraitOrientation() calls java.awt.print.PageFormat.getOrientation()
awt_PrintJob.cpp: setOrientation() calls java.awt.print.PageFormat.setOrientation()
awt_PrintJob.cpp: getPaperValues() calls java.awt.print.Paper.getWidth()
awt_PrintJob.cpp: getPaperValues() calls java.awt.print.Paper.getHeight()
awt_PrintJob.cpp: setPaperValues() calls java.awt.print.Paper.setSize()
awt_PrintJob.cpp: setPaperValues() calls java.awt.print.Paper.setImageableArea()
Some of these cases may not be running on the AWT-Windows thread. Those cases
don't need any modification to comply.