Thanks for fast answer. I get what you mean but I'm not sure how to compare the bounds of my shapes. Any suggestions?
EDIT:
Can I use this for my code or would you give me any other...
Type: Posts; User: jingojang
Thanks for fast answer. I get what you mean but I'm not sure how to compare the bounds of my shapes. Any suggestions?
EDIT:
Can I use this for my code or would you give me any other...
Hello, I have a problem with a shape generator. It randoms the shapes just fine, I just do not know how to make all the shapes fully stay within the frames border.
RandomShapeMaker.java
...
In the loop?
Okay, I changed it a bit and got the applet to start but now it returns a value of 0.0 when I type in the digits for radius and height.
import java.awt.Container;
import javax.swing.JApplet;...
I'm sorry about that. The variables radius and height does not work, here are the errors from the console:
java.lang.NullPointerException
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown...
Hi, why doesn't this work?
import java.awt.Container;
import javax.swing.JApplet;
import javax.swing.JOptionPane;
import javax.swing.JTextArea;
public class CylinderApplet extends JApplet {
I know how to create a JPanel with input and link a few numbers to it, not sure how to make all the different values.
package pakul;
import javax.swing.*;
import java.text.*;
public class...
(Hopefully this is the correct forumsection to post in)
Hello,
I need help writing a Java code that is using various dialog boxes and calculates postage for letters, here are some exampel...
Hello there,
I'm new to the forum, the reason I signed up is because I'm new to Java and need help with various things around the subject. I have been practicing Java on my own for about 11 weeks...