Language
-
Recent Posts
Recent Comments
Categories
Category Archives: Java
How to close JFrame from code
The close () in JFrame unfortunately does not exist. Nevertheless, we can easily form close. or The first method described only invisible form. We can work with him in the future. The second method invisible form and releases all used resources.
Posted in Java
Leave a comment
Execute an exception (call an exception)
Do you need execute an exception? Just use a simple code: or for example:
Posted in Java
Leave a comment
Conversion ResultSet to ArrayList
For the conversion is necessary to have a data class (in this case User). We use while loop in this case. Every iteration we create a new object and insert data to them. After that we insert the object into … Continue reading
Posted in Java
Leave a comment
Insert ArrayList to another ArrayList
To insert an ArrayList to another ArrayList will be initialized just use a common structure:
Posted in Java
Leave a comment