Jelle Klap wrote:Hint: the comment "Should not be void???!" could be right on the money.
Unless you're bound to that interface?
Moguluri Ravi Kiran wrote:
Declan Dee wrote:
How do I make it that the column ‘name’ in my MySQL database shows up in the name texfield in my GUI.
I think ResultSetMetaData serves you.
Campbell Ritchie wrote:Why are you trying to control creation from inside the constructor? Is it because you have a class invariant that the values must be in a particular range? If so, I think the IllegalArgumentException technique looks better to me.