Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Thread: Swing buttons

    by Norm
    Replies
    3
    Views
    955

    Re: Swing buttons

    The array would need to be defined outside of a method if you want other methods to be able to access it.
  2. Thread: Swing buttons

    by Norm
    Replies
    3
    Views
    955

    Re: Swing buttons

    If the buttons are in an array, you can access them by using indexes.
    This element of the array: theArray[row][col] is a button and can be used to call button methods:
    ...
Results 1 to 2 of 2