Global variables are usually a very bad idea in an object language.
Adam Chalkley wrote:. . . a global variable . . .
Sorry I'm late to the party, but how did you test the database code before you created the GUI?
java.sql.SQLException: Operation not allowed after ResultSet closed . . .
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database