• Post Reply Bookmark Topic Watch Topic
  • New Topic

Buttons!!  RSS feed

 
mfphor Mokoena
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

From the existing button, how do you connect it to database? Rather, what do you do to a put to a button to able able to submit data to your database?

this is how my button looks like at the moment:


 
Campbell Ritchie
Sheriff
Posts: 55364
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

I think a long time curled up with the Java Tutorial about databases is going to help.

Suggest you learn to do database access from the command line, and once you have got it working, then you can probably transfer it to a JButton quite easily.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!