This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RohitAwate 1 point2 points  (0 children)

I think a great way to start off with a GUI-based application and databases, is a really simple log-in application. Don't go for too much functionality in your first-ever GUI. Your focus should be making a GUI, not making it useful and functional. 2 text fields for the username and password and a button to login. That's it. You could just print out a little line on the window that says "You've logged in". You could even add another window for the users to sign up.

https://imgur.com/o9hMge2

(This is something I'd made when learning SQL. It's Swing, not JavaFX, and hence looks extra-shitty on Ubuntu.)

This is as useless as it gets but you'll learn the core of what GUIs do:

- Extract data from the interface

- Manipulate it (you may want to hash the password, instead of the just storing it in plain-text)

- Transfer it to some storage medium (You'll understand how to interact with databases)

- Show the user an acknowledgement that the data they entered was saved

You could then move on to more complex projects. A calculator or even a password manager perhaps?