0

I want to remove title bar from JFrame and then using JRootPane I want to create custom title bar component in Synth L&F. I have searched and found that I can customize frame's look by using the root pane.

How to modify JFrame using JRootPane?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Punit
  • 667
  • 1
  • 7
  • 17
  • Well, this may not be the best thing you can do, but you can make your `JFrame` undecorated (`JFrame#setUndecorated(true)`) and then create your own title bar that way. – Josh M Jan 17 '14 at 05:03
  • But i want JMenuBar in my application and i don't know how to place at bottom of the custom title bar. – Punit Jan 17 '14 at 05:18
  • I want to make the same hierarchy that TitleBar->MenuBar-> then other components – Punit Jan 17 '14 at 05:22

0 Answers0