I\'m trying to set an int value using jTextField and the setText method. But of course setText wants a String. How do I get round this? I\'ll give you a snippet of the code:
I think you should write the code as
seatsTF.setText(e.getNoOfSeats().toString());