Nuwan seneviratne
Nuwan seneviratne

Reputation: 31

Correct Steps for a Java Gui related project

I am developing a plagiarism detection framework using Java. For that we have to come up with a GUI to take user inputs and process them. So we have to develop application logic as well. I want to know in general what is the correct steps of developing these kind of applications. Whether I should create the GUI first and then go to develop the logic or the otherway. It will be helpful if someone can post me a link related to creating a custom GUI using Java Swing with a professional look.

Upvotes: 1

Views: 413

Answers (1)

jzd
jzd

Reputation: 23639

The Oracle Swing tutorials are a great resource for building Swing apps. http://download.oracle.com/javase/tutorial/uiswing/TOC.html

I would suggest doing a little of both at the same time. After you have the basic GUI and logic working you can do some rough testing and make any major changes that are needed. Once the logic and GUI framework appear to meeting your requirements you can go back and make the GUI look "Pretty".

Tips for more professional looking apps:

  • Learn and use LayoutManagers for layout your components out.
  • Learn and use SwingWorker in order to keep your GUI from hanging while it is processing
  • Make use of an alternative look and feel like Nimbus. (In my opinion using Nimbus can have a big effect with little code)

Upvotes: 2

Related Questions