I'm too lazy to search for the
thread(s) about this topic (but you certainly are welcome to, I think there's at least two with relevant code/discussion), but here's a bit of code I found that seems to work in L&Fs
excluding the Windows L&F on XP; it removes all buttons on the title bar:
Call it with the frame you want to remove buttons on.
I would have to recommend Mr. Godbole's suggestion if you are planning to deploy an app on XP.