Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Design Question Date: Tue, 20 Dec 2011 20:40:43 +0000 (UTC) Organization: UK Free Software Network Lines: 36 Message-ID: References: NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1324413643 5594 84.45.235.129 (20 Dec 2011 20:40:43 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Tue, 20 Dec 2011 20:40:43 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10913 On Tue, 20 Dec 2011 04:10:53 +0000, Stefan Ram wrote: > However, you do not necessarily need to get it right right from the > start. Instead you can write the GUI code to be maintainable and then > improve the GUI according to your own observations and user feedback. > True enough, but you at least need to fit the design and dialogue type to the type of user and the way the system will be used. Even after all these years I think there's a lot of value in James Martin's "Design of Man-Computer Dialogs". I agree with Arved about the iniquities of mixed mouse/keyboard dialogues and, for text entry type applications such as you might write in the past with a 4GL, find that straight keyboarding without forcing the user to touch the mouse makes for much faster interactions. >>I'd consider using a JOptionPane dialog that only gets shown at the end >>of the game when it pops up to display 'Exit' and 'Another game' buttons >>so the user can decide whether to exit or start another game. Needless >>to say, it needs to be positioned so it doesn't hide the final score. > > In this case, I'd prefer the program to just wait (without opening a > dialog). The user than is free to issue commands, including »exit« or > »another game«, from the program menu. > Yes I wondered about that as I wrote it, but was thinking of it as a screen area that shows something along the lines of "Yay, you won! 999 is the highest score EVAH!" and then asked "Wanna play again?" which could be implemented as a Y/N entry box or a pair of buttons at the designer's choice. I was not thinking of a pop-up as such. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |