Search:

Type: Posts; User: gopster01

Search: Search took 0.15 seconds.

  1. Re: why does the clear sign not work on my calculator?

    thanks. but how do I do square root and percentage maths on this?
  2. why does the clear sign not work on my calculator?

    here is the code I wrote:

    import javax.swing.*;

    import java.awt.MenuBar;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;

    public class NewCalculator implements...
  3. Re: why cannot I change the size of the TextField in Java for the calculator application?

    i have used a null layout because according to about.com, using null will allow me to lay the contents manually.
  4. why cannot I change the size of the TextField in Java for the calculator application?

    package name;

    //swing library found in javax called to use the graphical contents.
    import javax.swing.*;


    //creating the contents for the calculator
    public class calc {
    JButton btn1= new...
  5. Why can I not make the numbers display on the text filed at a click of a button without writing a number first?

    this is the code used to make the calculator work, I have not fully finished it yet. I'm am new to Java programming (at beginners level).


    //listen to action from the buttons
    import...
  6. Re: what does this Java programming error mean?

    what do you mean 'XYZ of NORTH'? do you means the XYZ coordinates?

    --- Update ---

    i don't get the third part, could you explain that more clearly, plz.

    --- Update ---

    //to assign
    import...
  7. Re: what does this Java programming error mean?

    it does not work, will you be able to show me a code to write and try. Cos I tried your method as how I understood it and it did not seem to work.

    import javax.swing.*;
    //lays out a grid by row...
  8. Re: what does this Java programming error mean?

    i tried adding another JFrame for the textbox but that did not work. because i seem to only make one visible with JFrame and not both.
  9. Re: what does this Java programming error mean?

    import javax.swing.*;
    //lays out a grid by row and column....
  10. Re: what does this Java programming error mean?

    import javax.swing.*;
    //lays out a grid by row and column....
  11. Re: what does this Java programming error mean?

    import javax.swing.*;
    //lays out a grid by row and column....
  12. Re: what does this Java programming error mean?

    2590

    i just need to insert the textbox at the top but I do not know how to. plz help
  13. Re: what does this Java programming error mean?

    2589

    this is how the calculator should look like
  14. Re: what does this Java programming error mean?

    how do i change the pl.add("center",pl) to cos if i remove it then the buttons and components in the calculator is positioned incorrectly.
  15. what does this Java programming error mean?

    I am coding a simple calculator in Eclipse version 4.3.1 and I get this message when I run the program:

    Exception in thread "main" java.lang.IllegalArgumentException: adding container's parent to...
Results 1 to 15 of 16