Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.09 seconds.

  1. Re: why cannot I change the size of the TextField in Java for the calculator application?

    That will set the column width of the JTextField to 15. If you wanted to put the number 15 in the text field, you have to do it as a String:
    JTextField Text = new JTextField("15");
  2. Re: why cannot I change the size of the TextField in Java for the calculator application?

    True. But have you considered the question: why do all the components need to be on the same panel with the same layout?
    For example, you have a grid of number keys. Ideally, you would use something...
Results 1 to 2 of 2