Hi there, just wondering, im using 2 classes currently, the one class(open)
has a default declaration, int door = 4;
this int controls how my program reacts, and in the one instance, how it
draws the shape of a door if you hadnt guessed.. I mean, later in my program
in the same (open) class, i do:
int [][] opening = new int[door][door];
Other things in my program also use this int.
In my other class(controller) ive got a jComboBox, what i wish to do is be
able to change the int value in the open class, then reload it.
My program currently loads up, and loads the open class onto a
jPanel(theMain) using this set int. From the combo box i wish it to change
the int value, and reload that class onto theMain panel, using the new value
if you get me. I seem to have tried everything, cannot work out what needs
to be done. Ive tried lots of things such as validate(), repaint() and such,
but with no luck. (p.s - using an applet)
Any ideas? Cheers
Jimbob - 24 Nov 2003 07:10 GMT
> Hi there, just wondering, im using 2 classes currently, the one class(open)
> has a default declaration, int door = 4;
[quoted text clipped - 17 lines]
>
> Any ideas? Cheers
Sods law, i ask the question, i fix it.