I asume that "maximise and minimise" are the buttons in the MenuBar to disable them you just use this
maximise.setEnabled(false);
minimise.setEnable(false);
If is it not what you wanted, please be more specific about your question.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 875
Code tags enforcer
Offline 6,659 posts
since Dec 2004