Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7413949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:58:48+00:00 2026-05-29T06:58:48+00:00

I am developing a small project using Java Swing. I am using jdk 7

  • 0

I am developing a small project using Java Swing. I am using jdk 7 on windows 7.

I have the main window of my application (JFrame) and of course it has a “favicon” which I set (it doesn’t even matter if it was the default java logo).

My question is:
Is there any possibility to disable the click on favicon ? When I click I get that menu which is specific to all windows applications. Close, minimize etc.

I would like to ignore that click.
I have searched a while on the internet but I found no answer, it seems like I am the first person looking for this.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:58:49+00:00Added an answer on May 29, 2026 at 6:58 am

    To get rid of the menu set the frame to be undecorated (see Frame.setUndecorated) but then you’ll lose the title bar and ability to reposition the frame using the mouse. Not such a great tradeoff.

    A possible solution suggested by this question:

    Removing a Frame’s title bar keeping the resize mechanims – Java

    is to use a com.jidesoft.swing.ResizableFrame that’s undecorated. It sounds like you’ll lose the title bar but still be able to resize the dialog.

    Another option is to “hide” the icon, e.g.:

    Image icon = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB_PRE);
    myFrame.setIconImage(icon);
    

    but the menu will still be present.

    Why do you want to get rid of the menu? It’s best to work within the look and feel of the OS and not redefine the user experience.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a small application using Blend, basically what I have in my application
I'm developing an application with node.js and socket.io. I have built a small-scale project
I am developing a small desktop application with Java + Hibernate. I am using
I'm developing a small POS for a university project. I have a form which
I am developing a standalone application, in Java using NetBeans, that gets and sends
I'm developing a small web application using Microsoft Silverlight 3. I'm using Microsoft Expressin
I am developing a small visual stdio 2010 c++ project. I have created a
I have been developing (for the last 3 hours) a small project I'm doing
I have created a small flash CS4 project that has a few custom components
I've got a small Java program that I'm developing for a project, which pulls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.