This blog contains information about how to change the default boring title bar of a Java Swing Application and make your application look something like this:The magic is done by following 2 lines:
jframe.setUndecorated(true); jframe.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);After adding this 2 lines your jframe will look like:
This will still work same as title bar but now when you apply any of your look and
feel it will become like the first image. Not the exact copy because your look and
feel will be different from the one (Midnight Skin Look And Feel) used to take the
first picture.
Hello we have to import any package for this