Respect Sir,
While using Netbeans 12 for
Java, I have may forms.
I have to use following codes in every form
What I want to create a class for connection and call that class in every Jframe forms
So I used this method
https://imgur.com/a/WjaS4Hk
I created a class named get_connection.java
this class has following codes
Above codes work fine, db is connected.
But how to call this class in other Jframe forms?
Regards