DB Description
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production"
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Operating System Windows XP
IDE: Eclipse
I have successfully connected to DB. However I have following code which runs fine. (Due to the length of the code I am posting a single Jtextfield to avoid confusion). If anyone would like to see full code. please let me know
My Requirement I want to display data from database when user enters this field which is (JTextfield f2) and presses ENTER key. and the selected data gets displayed in this Jtextfield.
Here is the DB Connection code
Please remember Jtextfield and the above DB connection code are separate classes. I am new to
java any hint will be appreciated.
Please refer to the attachment to understand the requirement.
Thanks