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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 43027
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.
 
Nothing up my sleeve ... and ... presto! A tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
    Bookmark Topic Watch Topic
  • New Topic