I'm working with a project there ill need to enter some values for an Object and for this i'm using JTextField. However some of the variables are of the types double, int and bool. Is there a different method of reading thees types?
This wont work because playTime is of type double and .getText(); takes a String.double playTime = this.playTime.getText();
How will i handle this? Id rather not convert from String to Double if its possible.