Search:

Type: Posts; User: copeg

Search: Search took 0.29 seconds.

  1. Replies
    6
    Views
    1,549

    Re: Help with jButton

    Break the problem down into smaller steps 1) get the user entered value - you can use the getText() method to retrieve this from a JTextField 2) Convert that value to something the method you wish to...
  2. Replies
    6
    Views
    1,549

    Re: Help with jButton

    What have you tried? What exactly are the errors?
  3. Replies
    6
    Views
    1,549

    Re: Help with jButton

    What do you mean by 'link up'? Do you mean call the methods of Calculator from the action listeners? As ButtonDemo extends Calculator, you can just directly call the method(s), passing entered value...
Results 1 to 3 of 3