SQL « Button « Java Swing Q&A





1. How to execute a specific SQL-Query on a jButton with java in swing    stackoverflow.com

Is it possible to execute a SQL query directly when clicking on a jButton? For example, in a jDialog I have a textfield for the Username and a savebutton. jButton Action:

@Action
public void saveNewUser() ...