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 590787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:33:59+00:00 2026-05-13T15:33:59+00:00

In windows it is possible to show a grayed out JCheckbox, to show that

  • 0

In windows it is possible to show a grayed out JCheckbox, to show that the collection of data which it represents not all items have the same value.

Is this even possible with a JCheckBox?
How do i go about this?
(Hoping there’s a way to not override it)

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-13T15:33:59+00:00Added an answer on May 13, 2026 at 3:33 pm

    My colleague who this question came from thought of this;

    1. Create a dummy JCheckBox which is disabled and selected. set the same size as the real one.
    2. Create an Icon which’ paint method actually paints the dummy JCheckbox.
    3. Set the original JCheckBox’ Icon to the one painting the dummy.
    4. Remove the icon as soon as the JCheckBox is clicked.

    ++ No overridden JCheckBox

    — not a real tri-state Combo

    I think he’s satisfied.
    Thanks for the help

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

Sidebar

Related Questions

Is it possible to have the same effect of windows option show window contents
Quick question; In C#, Windows Forms, is it not possible, to have a System.Windows.Forms.TrackBar
is it possible to open a directory on windows form? and show all its
I have a Windows project in Visual Studio 2010 in which I store all
I have a Winforms application that uses show multiple top-level windows: Form1 form1 =
I'm developing a Windows Mobile application that uses Bing Maps Web Service to show
I have a windows service that fails to start under some circumstances. When it
Is it possible to show ads in XNA games on Windows Phone 7? The
I have simple Windows Forms application (not WPF), and I have two controls on
In my WPF4 desktop application all windows have the same structure — header &

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.