Search:

Type: Posts; User: austin.rose94

Search: Search took 0.17 seconds.

  1. Components I add to JApplet won't appear!

    For the life of me, I can't figure out what's wrong.

    I want my Applet to have two Panels. One in BorderLayout.Center, and another in South.

    Right now, all I'm trying to do is get one of the two...
  2. Replies
    5
    Views
    1,379

    Re: Painfully simple Applet problem.

    Changed "class MyApplet" to "public class MyApplet", still doesn't work :/
  3. Replies
    5
    Views
    1,379

    Painfully simple Applet problem.

    Hey all, I'm trying to learn how to build applets, and I simply can't get my browser to run one! Originally I was using Chrome, but I switched to Firefox and got the same error.

    Here's the applet...
  4. Replies
    2
    Views
    1,046

    How do I access this value?

    I need to write a program which has a JFrame with a number of JButtons on it. Each of the JButtons has an ActionListener. When any JButton is clicked, I need to somehow be able to use the text of the...
  5. Replies
    5
    Views
    1,159

    Re: Problem with scope, please help!

    I have no idea how I might accomplish either of those :/
  6. Replies
    5
    Views
    1,159

    Re: Problem with scope, please help!

    Good point. My explanation was a bit vague. At that spot, I need something like:

    wordPanel.add(new JButton(toCheck));

    But that's out of scope. So how can I accomplish that action?
  7. Replies
    5
    Views
    1,159

    Problem with scope, please help!

    I have this program with a fairly modest goal: There's a text field, and a set of keywords. Everytime the user types in the text field, my TestListener triggers and if the text in the field matches...
  8. Re: Simple TextListener Problem =/ Please help!

    It works! Thank you so much. I was wondering if it had something to do with deep vs shallow equality. Too new with Java to know much about it though.
  9. Simple TextListener Problem =/ Please help!

    The goal of this program is pretty modest:

    There's a TextField, and a TextListener attached. So everytime the TextField is edited at all, textValueChanged(TextEvent e) method is triggered. This...
Results 1 to 9 of 9