| Sample JSP: Building & 
                        Using Component Factory for Air Traffic Monitoring | 
                    
                     
                      |   | 
                    
                     
                      |   This 
                          simple JSP file demos, how one may use a Component factory 
                          for the Air Traffic Control System using the Raju’s 
                          GUI-Class for the Airline. This demo shows, how one 
                          may use the CF to build one more layer of hierarchy.  | 
                    
                     
                      |   | 
                    
                     
                      | Please 
                        click here to see the SVG Component | 
                    
                     
                      |   | 
                    
                     
                      |   The 
                          following JSP-code presents the above SVG-component. 
                          The JSP code is in one file, but it is dived into sections 
                          to explain then in parts. To inspect the SVG-code of 
                          the AC’s, please select right mouse button and 
                          select “View Source” in the pop-up menu.  | 
                    
                    
                      |   | 
                    
                     
                      | The 
                        JSP file to present the Above SVG-Component | 
                    
                     
                      |   | 
                    
                     
                      Note: 
                          Please click on this link (ATC_CF.java) to see quick 
                          and dirty/lazy code for the CF, to build given City’s 
                          Air Traffic monitoring component. The ATC_CF-Class takes 
                          a City’s Airport code (e.g. SFO for San 
                          Francisco or LAX for Las Angeles 
                          International) as input and generates the AC to present 
                          the Air traffic-monitoring component.  | 
                    
                     
                      |   | 
                    
                     
                      Please 
                          review the Section-3 code to see, how one could use 
                          the Raju’s “Component Factories” for ATC-system may 
                          be used to build subcomponents for a container-component 
                          (e.g. Rotate Banner).  | 
                    
                     
                      |   | 
                    
                     
                       
                          
                             
                              // 
                                Instantiate the ATC for each City. 
                                ATC_CF Atc1 = new ATC_CF (aci, "SFO", 
                                data_url); 
                                ATC_CF Atc2 = new ATC_CF (aci, "LAX", 
                                data_url); 
                                ATC_CF Atc3 = new ATC_CF (aci, "JFK", 
                                data_url);  
                                // One may use 
                                each of the above Objects to build subcomponents. 
                                // Pass the City-CF-Object 
                                information to a Rotate banner Component 
                                ATC_CF City_list[] = {Atc1, Atc2, Atc3}; 
                                RotateBanner3 RB = new RotateBanner3(aci, City_list, 
                                3); 
                                RB.CGM(pw); | 
                             
                           
                          | 
                    
                     
                      |   | 
                    
                     
                      The 
                          final section contains Radio-buttons to switch between 
                          the cities to monitor the Air Traffic. This demo is 
                          showing just one layer or hierarchy, but this kind of 
                          hierarchy can go on for many layers. For example, yet 
                          another container component’s Object may use the Rotate-Banner 
                          object to build its subcomponent; and so on. There is 
                          no limitation, and this process can be repeated for 
                          many layers. Likewise, a taxi-company may monitor taxi-movements 
                          and status in different sections of the town. The City 
                          map may be obtained using Google’s map API.  | 
                    
                     
                      |   | 
                    
                     
                      The 
                          online GUI-Classes could offer every thing one might 
                          expect from traditional GUI-classes (e.g. Java/Swing 
                          or Windows-API) and lot more. In many aspects, Raju’s 
                          GUI-classes may be simple to use, more flexible and 
                          superior to traditional GUI-classes.  | 
                    
                     
                      |   |