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...
Type: Posts; User: austin.rose94
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...
Changed "class MyApplet" to "public class MyApplet", still doesn't work :/
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...
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...
I have no idea how I might accomplish either of those :/
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?
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...
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.
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...