123 Eng

Engineering the engineers™

Latest Jobs   Forum Map


Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers


   Computer Science / IT

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Terms of use

Displaying  Source Code(s)  

Why can not I mix AWT and Swing?


There are findamental incompatibilities in the way they draw themselves.
AWT java classes are not "pure" Java classes, they use underlaying C/C++ native code (dependable on
operation system) that can cause different appearence in different OSs.
Swing is pure Java implementation and has no native code at all. Swing applications look the same.
> If there is a problem mixing swing and awt... what are the results,
> what can happen?
Some objects drawn on top of others are not properly occluded. This is most obvious with drop down
menus, which have a tendency to stay visible even after you have selected a menu item. Another
problem is that if you use AWT components on a JTabbedPane they will not disappear when you switch
tabs. There are many similar issues.


Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved copyright 123ENG