Hemen Ashodia Hemen Ashodia - 1 year ago 145
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 )

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download