Relative Content

Tag Archive for javanetbeans

PreparedStatement in netbeans

‘Class.forName(“com.mysql.cj.jdbc,Driver”); String url=”jdbc:mysql://localhost:3306/college”; String username=”root”; String password=”1234″; Connection con=(Connection) DriverManager.getConnection(url,username,password); String q= “insert into editor“(name,gender) values (?,?)”; PreparedStatement psnmt =con.prepareStatement(q);` PreparedStatement psnmt =con.prepareStatement(q);this line show error please anyone help me.. pls find my problem solution java netbeans New contributor praveen is a new contributor to this site. Take care in asking for clarification, commenting, and […]

how to modifier table in NetBeans as like in word and excel

I’m trying to create a table of marksheet or in another way a page that when I’m finish design I’m trying to make it automatically everything by just student id
the only problem I have is how to design by java i couldn’t find a way create this page(tables)
enter image description here
pls help I really need to finish this for my project in school
and sorry for my bad English

Why can’t I use any of my packages or Classes in Netbeans?

I have been having this issue where I am not able to use any of my imported packages or classes in any of the projects I create. I am setting them up correctly, but all of a sudden I get an error saying either “package doesn’t exist” or I can can’t use an existing class. This happens with every new project I create and I even uninstalled and reinstalled netbeans several times with no avail. Help with this would be appreciated.

i got this error when i create a new project java with gradle in Apache netbeans 21

Failed to transform foojay-resolver-0.7.0.jar (org.gradle.toolchains:foojay-resolver:0.7.0) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.internal.hierarchy-collected=false, org.gradle.internal.instrumented=instrumented-external-dependency, org.gradle.jvm.environment=standard-jvm, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
Could not download foojay-resolver-0.7.0.jar (org.gradle.toolchains:foojay-resolver:0.7.0): No cached version available for offline mode
Failed to transform gson-2.9.1.jar (com.google.code.gson:gson:2.9.1) to match attributes {artifactType=jar, org.gradle.category=library, org.gradle.internal.hierarchy-collected=false, org.gradle.internal.instrumented=instrumented-external-dependency, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Could not download gson-2.9.1.jar (com.google.code.gson:gson:2.9.1): No cached version available for offline mode