Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple menu for jdbc

 
miguel b
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am not very good at java, but i have some code for interacting java and sql for my database. So i have made some methods where i do various queries and display tables etc...
But now i want to have like a main screen that for example shows
Choose a Task
a. task1
b. task2
c. task3
...etc
and then when the user types the number, it will perform the corresponding method....
thanks!!!
dunno if this would help or make sense...but this is one of the methods i made, with a template ofcourse!!!


[ edited to break apart long line of code and to remove the evil tab character -ds ]
[ March 26, 2004: Message edited by: Dirk Schreckmann ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
miguel b,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy. We request a last name of more than one character.
Thanks Pardner! Hope to see you 'round the Ranch!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now i want to have like a main screen that for example shows
Choose a Task
a. task1
b. task2
c. task3
...etc
and then when the user types the number, it will perform the corresponding method....

So, what have you done or tried to do towards this end so far? Were you thinking of creating a console-based application, or a graphics-based user interface?
[ March 26, 2004: Message edited by: Dirk Schreckmann ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic