Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • 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: 53773
127
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!