is there anyway of unspecifying the size of an array so the number of elements input can vary each time?
I'm currently using an array to store values entered which are then manipulated but the array is set to 100000 and is creating problems.
Thanks in advance
I want to get text from a JTextField when a button is pressed, however at the moment I'm getting a huge error message from Java at the command prompt when i press the button.
The code is below
private void newPage()
{
page = fieldad.getText();
fieldad.setEnabled(false);
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.