Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

uanble to wstavlish connection using JDBC and applet

 
mayank yadav
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
i have tried a program using java applet and
jdbc dbc bridge.....values will be entered through
the applet...NOW the program is not compiled
the error displayed is
{ expected

public class Test extends Applet implments ActionListener
plzz help.....

****************************************************************


[edited to add code tags]
[ September 26, 2005: Message edited by: Jeanne Boyarsky ]
 
Maximilian Xavier Stocker
Ranch Hand
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well besides the compilation error this will not work. Please consult the FAQ particularly the second question on this page http://faq.javaranch.com/view?OdbcJdbcQuestions
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One suggestion is to enclose your source code in the "" tags.

Another suggestion is that

"implments" is misspelled, correct it and see what happens.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34371
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mayank,
I added the code tags that Craig mentioned. So you can find them next time, take a look below the big textbox you type your post in. There is a section called "Instant UBB Code." Once you click on the button that says "code", some tags will appear in brackets. Copy/paste your code in between them and formatting will be preserved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic