开发者

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 rela开发者_如何学Goted to creating a custom GUI using Java Swing with a professional look.


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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜