Creating and Displaying a Table

The table created and maintained by the PCIS application contains the user name, telephone extension, machine type, and amount of RAM (random access memory) in megabytes for the employees of Acme Industries. The panel displaying the table is shown in Figure 1.

Figure 1. Inventory Table



                 ACME Industries Personal Computer Inventory System
------------------------------------------------------------------------------
Type one or more action codes, then press Enter. 
  E=Edit  D=Delete  (F5 to Add new user)

                            Tel.    Machine
Action User Name            Ext.    Type            RAM (Megs)              
------ -------------------- ------- --------------- -----------              
       J. Doe               1234    IBM PC             8                   
       R. Johnson           4844    IBM PC             12                   
       L. Jones             5000    Mac                4                   
       C. Miller            2197    iMac               12                   
       D. Mills             2345    IBM PC             16                   
       M. Smith             1234    IBM PC             32                   



 F3=Exit F5=Add


In this chapter, you will learn how to design the panel and create and display the table.