Bookmark Topic Watch Topic
  • New Topic

New to this Forum

 
vamshi krishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Welcome to JavaRanch.

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?

For future reference: UseAMeaningfulSubjectLine
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!