Guest User

Untitled

a guest
May 5th, 2012
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. public void removeAllContentPage() {
  2. Component win = content.getFellowIfAny("employee");
  3. if (win != null) {
  4. content.removeChild(win);
  5. return;
  6. }
  7. win = content.getFellowIfAny("person");
  8. if (win != null) {
  9. content.removeChild(win);
  10. return;
  11. }
  12. win = content.getFellowIfAny("company");
  13. if (win != null) {
  14. content.removeChild(win);
  15. return;
  16. }
  17. win = content.getFellowIfAny("result");
  18. if (win != null) {
  19. content.removeChild(win);
  20. return;
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment