Defective
JCHJava Community | Help. Code. Learn.
•Created by Defective on 7/17/2024 in #java-help
Trying to load a Font from resources throws a BufferUnderflowException
I am trying to load a Selawik font from my project's resources with following code:
but it results in an exception:
Does anyone have any clue why? The font appears to be a valid TrueType font, but Java still refuses to load it...
7 replies
JCHJava Community | Help. Code. Learn.
•Created by Defective on 12/27/2023 in #java-help
Database Connection Pooling
I need to implement a simple connection pooling mechanism for my application.
The problem is I have almost no knowledge working with database connections.
What things should I take into account? Is there any lightweight library out there?
I expect the code to open as few connections as possible.
20 replies