Graphics Ques & Array List Wrapping

From: M Smith (pet_at_top99.freeserve.co.uk)
Date: 03/30/04

  • Next message: Andrew Thompson: "Re: Graphics Ques & Array List Wrapping"
    Date: Tue, 30 Mar 2004 00:28:38 +0100
    
    

    Hi im turning to you guys for two trivial questions, the first, I am drawing
    a line using g.drawPolyline() how can I make each line a different colour,
    the g.setColour() allows me to set the colour of the entire canvas as the
    repaint method is required to show a newly drawn line ?

    My second question is, how do I wrap an Array List as in place an entire
    list into the first index of another array list or basic array, I presume it
    needs to be wrapped but is there an easier way ?.

    Hope that's semi clear, Thanks Pete


  • Next message: Andrew Thompson: "Re: Graphics Ques & Array List Wrapping"

    Relevant Pages

    • Re: Graphics Ques & Array List Wrapping
      ... M Smith wrote: ... > Hi im turning to you guys for two trivial questions, the first, I am drawing ... By drawing individual lines instead of a polyline. ...
      (comp.lang.java.gui)
    • Re: Graphics Ques & Array List Wrapping
      ... > Hi im turning to you guys for two trivial questions, the first, I am drawing ... > list into the first index of another array list or basic array, ...
      (comp.lang.java.gui)