Extracted AWT specific functionality to AWTEditor project.