The type returned from myTextField.getText() will be String
if( ! Output_Capacity_TextField
.getText()
.isEmpty() ) {
if( Integer
.parseInt( Output_Capacity_TextField
.getText() ) < 100 ) {
JOptionPane.showMessageDialog( null, "gotta have 100+, cowboy );
}
else {
int x = Integer.parseInt(...