Am a beginner in Java.I have been asking myself the same question you posted in this post.In fact Its so educative because I have been able to learn on what best programs to use for Java GUI and in this case Netbeans.Also I have tried your code above in Eclipse and its working!
Can somebody please mention on how to code executable programs such as login systems that can connect to a database,update it,edit,do some few queries and return some results on a screen? Example: Enter names,password,create an account,enter some value in it,pay,show balance,confirm,exit etc. In Graphical User Interface.
Please help with examples,links or any code relevant to the question.
Thank you all and keep posting.
-reply by Mish