Is there a way of removing the rhel red hat icon from top left corner in JDialog window ? Purpose is to have only the text "Activities". red hat icon
I have tried to search from where is coming that image, but no success.
Can you please help ?
Thanks
The only thing I can think of of hand is the same thing as what was suggested by @user16320675. Create and use a small transparent empty image to replace the default image. This does however leave an icon sized gap between the left edge of the frame and the text. It may be a good idea to try and center the text within the title Bar.
You can try something like this provided method. Read comments in any of the following code:
To use this method you might have something like this: