Search:

Type: Posts; User: Chris.Brown.SPE

Search: Search took 0.09 seconds.

  1. Replies
    25
    Views
    1,951

    Re: action listener not working help

    He keeps editing his original post. It is different from when he originally created the thread. pranavk26, maybe you should put a date stamp informing us when/if it has been changed.
  2. Replies
    25
    Views
    1,951

    Re: action listener not working help

    Your main function is written incorrectly. The brackets go on the String not args.

    --- Update ---

    More problems, you're not going to see anything because you never set your frame visibility to...
  3. Replies
    25
    Views
    1,951

    Re: action listener not working help

    With having your scales as radio buttons, you should not need any action listener for them. Your only action listener should be handling the convert buttons. Then you can either have two action...
  4. Replies
    25
    Views
    1,951

    Re: action listener not working help

    Wow, time to think before posting. "this.add()" automatically adds to the content pane, you just have to be sure to set the layout of the frame. Simple doing this.setLayout(new FlowLayout()) should...
  5. Replies
    25
    Views
    1,951

    Re: action listener not working help

    You're right norm, you can use the content pane. Been forever since i've had to do much of anything with a JFrame. What i was referring to is that if you try to do "this.add()" multiple times you're...
  6. Replies
    25
    Views
    1,951

    Re: action listener not working help

    So i managed to get your panel to display and i see what you mean by your button not doing anything. It is getting into the action listener just fine.

    #1 Rename your class with a capital letter in...
Results 1 to 6 of 6