开发者

Best Practice Guide: Swing [duplicate]

This question already has answers here: Java AWT/SWT/Swing: How to plan a GUI? (10 answers) Closed 8 years ago.

Does anybody know Swing related GUI guidelines - specifically on how to design Swing apps and which components I should use? I'm not looking for an official standard, but pragmatic tips I can use to set a good standard f开发者_运维知识库or my projects.

I haven't used too much of Swing by myself. Surely clicking a GUI with a GUI designer isn't a big deal. However I'd like to get some insights from people who have experience with Swing and know what to avoid. Swing lately (in Java 6- 10) got decent changes. So there isn't too much specific standardization out there currently.


There are many resources out there discussing good uses of Swing or showcasing good uses of Swing. Here are a few:

  • Kirill Grouchnikov's Blog
  • Pushing Pixels
  • Swing FX (hasn't been updated in a while, but has lots of good stuff in the archives)

These resources aren't simple best practices lists, but I find that I'm constantly inspired by general design blogs and Swing design blogs in particular. On top of that, projects like swinglabs can show you what people can and are doing with Swing.


When attempting to select the right layout manager for placing components in a panel I tend to take a quick look through Sun's visual guide to layout managers.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜