Hemen Ashodia Hemen Ashodia - 8 months ago 57
Java Question

JFrame Customization

How to add some JtextField in title bar of JFrame..?

Or if I want to add some components in Title bar of Jframe

Like there are tabs in Firefox

( although i know firefox is not made up in java competely )


You can call setUndecorated(true) on JFrames. Then you can implement your own titlebar which can be e.g. a tab bar like in Firefox or Chrome. But you need to take care for widgets for closing, moving, minimizing the window.