Search:

Type: Posts; User: javapenguin

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    That and it's sometimes cloning the first digit.
  2. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    ^:)^^:)^#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o#-o

    I see now what might be the problem. The decimal point is never being pushed over.
  3. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    That's only supposed to be updating the String to include the new char. The String was originally blank and having the text from the JTextField pushed into it one char at a time till the condition...
  4. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    What was the try catch for? Also, why is the first digit repeating a bunch of times and then adding that to my exponent?

    import javax.swing.*;
    import java.awt.*;
    import...
  5. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    Oh, I see, the i value wasn't going up inside the while loop. I feared that might happen, but I didn't know that's what was causing the error. Also, the code still is glitched. It's repeating the...
  6. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    I showed what was the problem with the pictures. I thought you'd see them.
  7. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    Updated again. Still having problems.

    import javax.swing.JFrame;
    import javax.swing.JLabel;



    import javax.swing.*;
    import java.util.*;
    import java.io.*;
  8. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    Also, I might add that I can't exit out of the "Black Screen of Doom" window by hitting the X button or even hitting the Close Window with Windows. I don't mean that the program still runs after I...
  9. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    Well, these two pictures might help kinda clarify things.

    The before and enter are after I hit enter and activate the Action Listener.
    Code has been updated.

    import javax.swing.JFrame;...
  10. Replies
    14
    Views
    2,197

    Re: Why isn't this working?

    Ok, It's not even going into the loops. I told it to println() the i values and it didn't print anything. The stupid JFrame just turns black and I have to shut it off with the big red button.
  11. Replies
    14
    Views
    2,197

    Why isn't this working?

    import javax.swing.JFrame;



    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
Results 1 to 11 of 11