hi, can anyone help me to find a right codes for deposit/withdraw? thanks
Type: Posts; User: jabaman
hi, can anyone help me to find a right codes for deposit/withdraw? thanks
sorry if my question is to vague. my knowledge in java is too narrow, iam planning to create a javabank base on my existing database. and ive just started my program. and now i am stuck on.my problem...
i want to display first the amount money that is stored in my database but i dont know how should i match it with the user that owns that amount in my database
can you give help me on that?
and...
can you please teach a code on how to get a certain data from the access data base and store it in a variable in java?
i dont really know where it is occuring since the user and pass in the main methods give a value here are the error codes since my screenshot is too small
Exception in thread...
here is a screenshot of my error 1588 i dont know where the problem occured :( cause correct me if im wrong in the
private void jbtnAddActionPerformed (ActionEvent evt) { ...
i havent found it yet but do you think maybe the return value of user and pass this code is null?
public void addUser(String user, String pass) {
try {
addUserSt.setString(1, user);...
when i print out the user and pass it has a value. i think the problem is in this line since it accepted the values of user and pass
choice = JOptionPane.showConfirmDialog(this, "Add user with...
my bad sorry. thanks ive just found out that it is null afterall after i print it out. can you help me find what is the problem with my codes since im not good in functions maybe the error lies on...
when im about to add a user it say's that null pointer exception on this particular line
choice = JOptionPane.showConfirmDialog(this, "Add user with username "
+ user + "?", title,...
can you kindly help me out can you please re-correct the program for adding,editing, showing, deleting data in ms access database please.
import java.awt.Dimension;
import java.sql.*;
import...
import java.awt.Dimension;
import java.sql.*;
import javax.swing.*;
import java.awt.event.*;
public class AccountsManagement extends javax.swing.JFrame {
private String currentUsername;...