Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. Replies
    13
    Views
    1,258

    [SOLVED] Re: GUI button not linking back to code

    If an action is already occurring at 1-second intervals, what will be the apparent effect of pausing that action for 1 second? Hint: None. Please, describe it again after thinking it through. ...
  2. Replies
    13
    Views
    1,258

    [SOLVED] Re: GUI button not linking back to code

    Creating a new Timer each time the button is clicked is probably unnecessary, but I have no idea what this code is supposed to do. Have you described that anywhere? It seems that you're not only...
  3. Replies
    13
    Views
    1,258

    [SOLVED] Re: GUI button not linking back to code

    This is the code that creates the JButton and adds an action listener to it:


    JButton btnStartTiming = new JButton("Start Timing");

    btnStartTiming.addActionListener(new ActionListener()
    {
    ...
Results 1 to 3 of 3