Thanks; just saw this as I've been away & also unwell. I'll work on it
Type: Posts; User: hairLess
Thanks; just saw this as I've been away & also unwell. I'll work on it
Thanks again
That helped identify the issue: each time I re-size the window I wanted the JLabel to update with the number of each shape eg 2,4,2
This does happen in the console.
But it doesn't...
Thanks again
That helped identify the issue: each time I re-size the window I wanted the JLabel to update with the number of each shape eg 2,4,2
This does happen in the console.
But it doesn't...
Thanks again I'll work on the non-static variables.
I thought the code for the label was set up with
southLabel.setText(whatToSay() );
in classs TestDraw.
Thank you for your reply
The commented out class references should have been deleted as they aren't used.
The code to set the text shown in the GUI is in the whatToSay() method in the TestDraw...
Hi
I'm having problem with a basic Graphics exercise from Deitel & Deitel's book.
The task consists of
1. generate 1 of 3 shapes in a window - line, oval and rectangle - I have set the total...