Search:

Type: Posts; User: jingojang

Search: Search took 0.74 seconds.

  1. Thread: Need help

    by jingojang
    Replies
    3
    Views
    97

    Re: Need help

    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...
  2. Thread: Need help

    by jingojang
    Replies
    3
    Views
    97

    Need help

    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

    ...
  3. Replies
    8
    Views
    106

    Re: CylinderApplet

    In the loop?
  4. Replies
    8
    Views
    106

    Re: CylinderApplet

    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;...
  5. Replies
    8
    Views
    106

    Re: CylinderApplet

    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...
  6. Replies
    8
    Views
    106

    CylinderApplet

    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 {
  7. Replies
    2
    Views
    156

    Re: Setting up postage calculations

    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...
  8. Replies
    2
    Views
    156

    Setting up postage calculations

    (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...
  9. Replies
    2
    Views
    127

    Jingojang Presentation

    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...
Results 1 to 9 of 9