Skip to main content

All Questions

Tagged with
-2 votes
1 answer
43 views

SQL table column value won't increment anymore after 2?

The following code should increment the SQL table column "num" value and set the text of a text field to the value of "num" after incrementing. But when it reaches 2, the value won'...
kairyu21's user avatar
-1 votes
1 answer
61 views

mysql database connection to xampp install in a different machine

I recently crate a java project in NetBeans with MySQL database in xampp. Local connection is working without any problem. I want to make my project client server. I install xampp on windows server ...
Bakari Sagna's user avatar
-1 votes
1 answer
97 views

Why "HTTP Status 500 - Internal Server Error" happened after I clicked the Update button? [duplicate]

This error happens when I tried to edit the profile in the JSP work. Error Message The error shown below in NetBeans: |#] org.apache.catalina.util.Enumerator@3b90e68c|#] StandardWrapperValve[...
VictorXcraft's user avatar
0 votes
1 answer
48 views

Check if ANYYY values exists in table MySQL

I am making a java Program about User Account Creating and i want to check if there was any username of password before in table. String kullanici_adi = KullaniciAdi.getText(); String sifre = ...
Kaan Alper Omega's user avatar
0 votes
1 answer
131 views

How to store an sql result in a variable to be used [closed]

Good day all, I am working on a java project, in netbeans. I have a class called dbcon, which has a bunch of methods and a constructor that connects to a Mysql database. One such method is a login ...
OR13N 's user avatar
0 votes
0 answers
41 views

'java.lang.ClassNotFoundException: com.mysql.jdbc.Driver', no library [duplicate]

I'm making a system that integrates java and sql, but when connecting it to the database, the error 'java.lang.ClassNotFoundException: com.mysql.jdbc.Driver' appears, and I imagine that it's because I ...
Evelyn Becker's user avatar
1 vote
0 answers
22 views

Keep getting warning java.sql.SQLSyntaxErrorException [duplicate]

warning image i keep getting this message in netbeans while doin project for collage how to fix it? try{ stmt = conn.createStatement(); int stdId = Integer....
Rafi Raihan Ikbar's user avatar
0 votes
0 answers
44 views

I am trying to add image to jTable from mysql Database. but it Shows some text given in the following image

Trying science morning. but no success. I posted codes that can have problems please help me. This Is output. Instead of an Image, it shows this text. TheModel.java javaclass --->(I think the ...
luci_the_coder's user avatar
0 votes
1 answer
38 views

Connecting local MySQL database linked to Java project into another computer

I have a Java project with a local MySQL database linked to it. It has a login page with stored login details in the database. Let's say this is stored in Computer A. I have made this project into an ...
netbeansnewbie's user avatar
0 votes
0 answers
39 views

Get all column values from database and display in another class in Java using Netbeans [duplicate]

I'm pretty new to Java, but I need help with this. I'm trying to display information from a class method in another class, but I'm only able to display it in the console in the same class. Here's my ...
Chizo's user avatar
  • 53
0 votes
1 answer
177 views

inserting to database using java gui

I am trying to insert data from my netbeans to mysql workbench. there is no problem with the query but when I run the program a message box appear "Unknown column 'empJob' in 'field list '" ...
user19156740's user avatar
0 votes
0 answers
42 views

How can I insert only certain columns from a mysql table to netbeans?

I'm doing a calendar program in Netbeans using Mysql database. there is a table for every event which has many column, one of them being a Boolean called "Tarea" (Task). This determines if ...
lemon07's user avatar
  • 15
0 votes
0 answers
111 views

Passing Username from one JFRAME to Another Using MYSQL in NetBeans

I am trying to get the username used to login so as to create a query for that specific user under MySQL. With that query i will be able to display all data from that specific row. i.e From this ...
Shem Tom's user avatar
-1 votes
1 answer
89 views

How to make setup file(.exe) from netbeans. And don't need to open xamp for database

Hope you guyes very fine! Well, i like to create application with netbeans using java code. I can make simple application with mysql database. Though after "built and run" if we run the jar ...
Anas Habib's user avatar
1 vote
0 answers
37 views

The program can't find Connector J [duplicate]

I want to connect to my DB, but always get an exeption: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver I've installed Connector J as a library on NetBeans: enter image description here Here ...
Andrei Kernazhytski's user avatar

15 30 50 per page
1
2 3 4 5
43