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

  • Home
  • SEARCH
  • 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 8232903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:58:25+00:00 2026-06-07T17:58:25+00:00

I have checkboxes. I have a buttongroup. When I click on the option All

  • 0

I have checkboxes. I have a buttongroup. When I click on the option “All Checkboxes,” I want all checkboxes in the button group to be made unselectable (grayed out) (Except the “All Checkboxes” one which is selected.) How do I this?

Also, how can I add an item/set the items to a Combo Box using NetBeans?

  • 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-06-07T17:58:26+00:00Added an answer on June 7, 2026 at 5:58 pm

    I have checkboxes. I have a buttongroup. When I click on the option “All Checkboxes,” I want all checkboxes in the button group to be made unselectable (grayed out) (Except the “All Checkboxes” one which is selected.) How do I this?

    A ButtonGroup cannot be used to grey-out (functionally and visibly disable) a JCheckBox. Better to put them in a List<JCheckBox> and in the ActionListener for “All CheckBoxes” iterate through calling setEnabled(true/false) on the items in the list, the parameter depending on the state of the “All Checkboxes” JCheckBox.

    Also, how can I add an item/set the items to a Combo Box using NetBeans?

    I have no idea how to do this “using NetBeans”, but using Swing you simply get the JComboBox’s model, usually a DefaultComboBoxModel, and add items to it.

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

Sidebar

Related Questions

I have some checkboxes in a button set and I want to use Jquery
I have checkboxes (all with the same 'name' attribute) that I want sent to
I have ten checkboxes and Enum. I want to bind this checkboxes to Enum.
I have two checkboxes. I need to check that at least one of them
I have multiple checkboxes with name=ap[] and want to use jquery to convert the
I have 11 checkboxes with individual ids inside a modal popup.I want to have
I have checkboxes under the thumbnails, here: http://jsfiddle.net/pAYFa/ I want to do that by
I have checkboxes that need to act in a similar fashion to radio button
I have two checkboxes and one of the checkboxes must be checked. I can
I have 2 checkboxes, consider chk1 and chk2. If one checkbox is checked, the

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.