I simply want to create a GUI interface that allows the user to input an integer. I know that a GUI is very unnecessary for such a task, but I want to learn the basics of GUI.

have you got any code (you have allready written) that we can check?

I don't mind help correcting your code, but the idea is that you learn by doing. You won't learn much if someone else writes the code for you

You can check Sun tutorial on Swing http://java.sun.com/docs/books/tutorial/uiswing/
first chapter tell you about swing what i it, why to use etc, you can skip the second one about creating GUI faster with netbeans and jump on third which shows you how to do it from simple to more advanced

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.