Thank you so much. It works!
Type: Posts; User: DusteroftheCentury
Thank you so much. It works!
What line do I remove? Sorry Im just not very familiar with the many technical terms.
Thank you so much,
-Duster
It prints this:
...
What lines of code would you reccomend checking? And how? I understand your blog, but I do not see how that would apply here, because I dont really use numbers and integers and such, which if I did...
Could you explain what null means? And what kind of printlns? I know they can be used to catch exceptions but how?
Thanks for the help,
-Duster
Thanks, I checked the link and touched up on ActionListeners. I wrote this code,
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.JFrame;
public class...
I really dont want to just use the code given, I want to figure it out with help.
Here is my new code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import...
I appreciate this but I understand that spoon feeding is bad. I only needed a few lines of that and that is what I will use.
Thank you.
@copeg I understand, I accidentally spoon fed someone...
I just want it to add a pic to the panel by using ImageIcon. This is the image: 981
How would I listen to the actions? I know I can do "textbox1.getText();" to retrieve the text, but what code do...
Here is my code so far:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MainClass extends JFrame implements ActionListener
{
public static void...
Didnt see your post there. I shall try.
980This image might help better explain what I want:
Hey,
First of all please excuse my lack of technical terms.
I want to have a JTextField be able to accept commands, and have the commands change pictures, display text etc.
Is their a...