aspose file tools*
The moose likes Beginning Java and the fly likes A Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "A "designing" guidance needed - simple Swing & JDBC" Watch "A "designing" guidance needed - simple Swing & JDBC" New topic
Author

A "designing" guidance needed - simple Swing & JDBC

Kristjan Toots
Ranch Hand

Joined: Jun 03, 2011
Posts: 59

Hello,
To avoid any troubles, I'll go ahead and anounce that I've posted similar question in my other thread about the same project in the last post. I'm afraid that the post has been not seen cause of missleading thread subject.
Friendly advice appreciated with a small personal project (Beginner)

What I am trying to achieve:
"We have a small "warehouse" where we have to sign out every peace of hardware we take. At the moment we have a simple excel spreadsheet with 3 columns. [ ID .... NAME .... DATE]."

I would like to have small login box. When correct password promted, opens another window with 3 data fields - [ID], [User name (already filled by program) and [Comments]. When pressed OK button, it will add that data to MySQL database. The window closes and login box appears again.

When prompted "secret" password, admin panel will open. Admin has the power of adding users, deleting users, search by ID and has a table about 10 last entered recors. When closed, login box appears again.

What kind of help I would like to get:
I would like to know how would you go by building application like this. How would you design it? Roughly, what classes and methods would you create? How to divide it to logical sections?

Thank you for your time,
Kristjan Toots

Please correct my english.
Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

http://www.coderanch.com/how-to/java/ShowSomeEffort

Give us a base to discuss around and we will assist you. Some basic class diagrams, data models, use cases, flows... When you have done that, I actually think that you wont need our help anymore.
Kristjan Toots
Ranch Hand

Joined: Jun 03, 2011
Posts: 59

Thank you Ove for your replay.

I haven't done such things before, but went ahead and tried to come up with something.
Use Case diagram
Rough layout

Since I don't know much about different diagrams, models, cases & flows, maybe one can suggest some good books.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A "designing" guidance needed - simple Swing & JDBC
 
Similar Threads
Friendly advice appreciated with a small personal project (Beginner)
need help to get started
JSP <a href> tags breaks page functionality
Pass parameters with response.sendRedirect
Two windows get focus in turn depends on user action?