aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes regarding jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "regarding jdbc" Watch "regarding jdbc" New topic
Author

regarding jdbc

usv choudhary
Greenhorn

Joined: Oct 23, 2008
Posts: 4
i am working on swing and awt concepts of java
i have created a jtable which retrieved data from mysql database

now i want this jtable class file to load when i click on the previous java file Jbutton
in a supply chain system
say a supplier login to his home page then after to his to view the status he click on the get status button which retrieves data from the database(mysql)but on clicking on this button my program automatically ends that is the supplier cannot view the status
so please help me in this regard
i am preparing this project
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40034
    
  28
Welcome to JavaRanch

Please tell us how much you already know about JDBC access, Swing etc., then we can better help you.
usv choudhary
Greenhorn

Joined: Oct 23, 2008
Posts: 4
i am using mysql as a database i know how to configure with java and know all data manipulation statments eg-create,insert,update etc
regarding swing i know about different basic components such as jbutton,jframe etc
so please help me in this regard
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Originally posted by usv choudhary:
but on clicking on this button my program automatically ends that is the supplier cannot view the status


You really haven't given us much to go on. So the program ends? Do you mean, the application exits unexpectedly or do you mean something else? Please Tell The Details.


GenRocket - Experts at Building Test Data
usv choudhary
Greenhorn

Joined: Oct 23, 2008
Posts: 4
i am trying to say in order the view the current status supplier clicks on the get status (JButton) which on clicking must proceed to show the current status but it automatically ends
this is the coding of supplier

so please help me in this regard
[ October 24, 2008: Message edited by: Rob Prime ]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

Please Use Code Tags in the future. It preserves your formatting. I've added them for you this time.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding jdbc