Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

New to this Forum

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Vamshi followed up here.
 
How do they get the deer to cross at the signs? Or to read this tiny ad?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
    Bookmark Topic Watch Topic
  • New Topic