I think I have spoken too soon in saying that I have completed this. I have split the code into four different classes as per what my lecturer suggested.
I have one remaining problem that I would...
Type: Posts; User: digitalsystems
I think I have spoken too soon in saying that I have completed this. I have split the code into four different classes as per what my lecturer suggested.
I have one remaining problem that I would...
thanks for your help with this question. I did not fully understand what you were suggesting so I went back to the professor for guidance and it turns out that many people were in the same question....
sorry for not responding, thank you very much for your help.
I have added another arraylist of JLabels that will hold all the jlabels as they are created in the for loop in the actionPerformed...
I was using it so that I could use the same reference to the array for when I had multiple selections.
I have moved the creation of the lists to the constructor, I am thinking that I will also...
sorry, it does not seem to be working for me. I have created two array lists, one to store the names of the cities selected(I am thinking I may need this when I move onto the other part of the...
at the moment they are not.
are you suggesting about adding the individual times to a list as they are generated in the actionPerformed method?
and then perform the an update on them ie (+1000...
updated with a main method now...
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.util.Date;
import...
sorry, haven't created one yet, using BlueJ and just creating new instances of it
Currently doing an assignment for college that involves displaying multiple "clocks" on screen depending on how many cities are selected from a list.
I have most of it built I believe but I am...