Java Reference
In-Depth Information
21. System.out.println(" The getEditor() Factory Method is used to obtain the
ItemEditor");
22. System.out.println(" for the example.");
23. System.out.println();
24. System.out.println("Notice that the editor in the top portion of the GUI is,");
25. System.out.println(" in fact, returned by the ItemEditor belonging to the");
26. System.out.println(" Contact class, and has appropriate fields for that class.");
27.
28. EditorGui runner = new EditorGui(someone.getEditor());
29. runner.createGui();
30. }
31. }
32.
 
Search WWH ::




Custom Search