Author Topic: Java-scripters help me out here.  (Read 1131 times)

...What?

I'm confused, Elaborate.
I couldn't figure out what you were talking about so I tried to figure it out. The code I posted does the same exact thing in two different ways.

I couldn't figure out what you were talking about so I tried to figure it out. The code I posted does the same exact thing in two different ways.
How does String A send the message, "Correct!"?

Nevermind I see what you mean.

Okay, Last error (Thank god).

Kalphiter, can you friend me on steam so that if I were to run into any more of these really messed up problems I can ask for advice?

Code: [Select]
TextCheck.java:44: cannot find symbol
symbol  : variable JOptionPane
location: class TextCheck
JOptionPane.showMessageDialog(null, "This is a test of a small thing that will test whether you can do basic math");
^
1 error

Code: [Select]
import javax.swing.JOptionPane;
Or get rid of all the javax.swing imports and replace:
Code: [Select]
import javax.swing.*;
Same for java.awt:
Code: [Select]
import java.awt.*;

Anyway to by-pass the necessity of importing forgetloads of different things?

Also, it worked perfectly.

Thanks Kalph.

« Last Edit: October 23, 2010, 01:25:47 AM by SeventhSandwich »

Okay, I fixed that problem.

Just a question, how can I set a resolution to the little layout that my swing application creates?


Code: [Select]
myApplication.setSize(100, 100);in main