I have the main application window(JFrame).It in turn creates many JFrames , i want the newly created JFrames to be set as ALWAYS_ON_TOP , ie even if i click on the the main window,the new JFrames should be always on top similar to Yahoo messenger and MSN messenger. Actually i don't want the functionality of "ALWAYS_ON_TOP" with JDialog or JInternalFrame,as both of them will ultimately have their parents as the main JFrame window. I want this functionality with JFrames that are created from the main JFrame window. Actually i am floating some components of my main JFrame window for which i create a new JFrame window and place that floated component. Now this floating JFrame is independent of the main JFrame window ,but i want to set "always on top" for the floating JFrame windows similar to the Yahoo and MSN messengers.