This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes missing components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "missing components" Watch "missing components" New topic
Author

missing components

f. nikita thomas
Ranch Hand

Joined: Mar 02, 2008
Posts: 87
hate to bother you again, but this is someone else's code and i haven't done this in awhile. the JCheckbox's in the first group are missing. thanks in advance.



Imagination is more important than knowledge "Albert Einstein"
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38511
    
  23
Difficult to help without knowing what you are looking for. This thread would sit better on the Swing forum: moving,
f. nikita thomas
Ranch Hand

Joined: Mar 02, 2008
Posts: 87
the problem is in panel1 the JCheckBox's are not visible. i "think" its a Layout issue...
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
I hope that this is just sample code, that this is not your program, because if it is, you need to get rid of all the static declarations. The only thing that should be static here is the main method.

Anyway, your problem: you can't add the same component to more than one container. If you do this, it will only show in the last container it was added to.
f. nikita thomas
Ranch Hand

Joined: Mar 02, 2008
Posts: 87
THANK YOU!

yes this is 'not' my code, this is someone i am helping. i really need to take him to the woodshed on his coding style and logic. thanks again. take care.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38511
    
  23
pete stein wrote: . . .
Anyway, your problem . . .
Thank you for sorting that out
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: missing components