hi friends, i am suffering these problem, i have a JCheckBoxes in JPanels if i clicks JFrame it opens (each JPanel is having one checkbox) it opens the new window(child window) with the reference of JPanel of parent window. upto here is fine.
But our problem is when we select the fiels in child window, the condition is: cannot select not more than 2 field in the child window.
please help me how should we write the condition if selecting not more than 2 selections.
But our problem is when we select the fiels in child window, the condition is: cannot select not more than 2 field in the child window.
What do you mean by "select a field" - a field is something you enter text in, not something to be selected. What exactly is it you're trying to "select"? Can you post a minimal example of code that shows the problem?