S
smokymcpot_00
Hi
I'm doing a computer games development degree which includes a java
programming class. In this they use an Elements package (by 'Bailey &
Bailey') which is used for drawing objects in a bitmap drawing window.
When creating a new drawing window I use the following code:
DrawingWindow d = new DrawingWindow();
This creates a new drawing window with the name "d" which I would use
to draw an object (e.g d.draw(Rect)
However this seems to be only local to the method I include it in,
which is'nt very helpful. I was wondering if anyone has had any
experience with the Elements package and if they could help me make "d"
public to all other methods in the class.
Thanks in advance,
dev_wannabe
I'm doing a computer games development degree which includes a java
programming class. In this they use an Elements package (by 'Bailey &
Bailey') which is used for drawing objects in a bitmap drawing window.
When creating a new drawing window I use the following code:
DrawingWindow d = new DrawingWindow();
This creates a new drawing window with the name "d" which I would use
to draw an object (e.g d.draw(Rect)
However this seems to be only local to the method I include it in,
which is'nt very helpful. I was wondering if anyone has had any
experience with the Elements package and if they could help me make "d"
public to all other methods in the class.
Thanks in advance,
dev_wannabe