in the public searchProps(int propID) class:
Connection conn = DriverManager.getConnection("jdbc:odbc:PropertyOracleDatabase");
But that is not the issue
Type: Posts; User: emilemc
in the public searchProps(int propID) class:
Connection conn = DriverManager.getConnection("jdbc:odbc:PropertyOracleDatabase");
But that is not the issue
Here's the searchProps class:
import java.awt.Container;
import java.sql.*;
import java.util.*;
import javax.swing.*;
public class searchProps
I have created a LineObject which takes line in as a parameter. I call getLine() from the void addComponents() but returns a null pointer exception?
I've tried without initializing line first, then it just prints out null.
It prints out the data fine in the searchProps method but null when called from addComponents
I am having some trouble with the below code for my assignment. I am trying to display the
line in the
JTextArea. But for some reason the
line displays blank when called in
void...