I had a real weird method which is used to hide JInternalFrame's title bar. Now the dilemma is below method works on windows platform,
JInternalFrame
((javax.swing.plaf.basic.BasicInternalFrameUI) aXInternalFrame.getUI()).setNorthPane(null);