aspose file tools*
The moose likes Beginning Java and the fly likes simple menu for jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "simple menu for jdbc" Watch "simple menu for jdbc" New topic
Author

simple menu for jdbc

miguel b
Greenhorn

Joined: Mar 25, 2004
Posts: 2
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

Joined: Dec 10, 2001
Posts: 7023
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!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: simple menu for jdbc