CS320      Lab2 - Display Lists and Selection

Objectives:

  1. Download the Paint.java file and create a project in Eclispe.  Run the paint program and try out all the features including the two pop-up menus.  Spend some time looking through the code so that you understand how things work.
     

  2.  
    Fix the text drawing tool so that the text is drawn in the current color.
    Also add a set of display lists for the ASCII text, as we discussed in class and have the text use the appropriate display list.

     


  3.  
    Add a line-strip drawing tool.  You will need to add another icon and after it is selected you can select as many points as you want and it will draw lines between each successive point.
     
  4. Email your completed Lab2 program to me.