This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am working on this project (java application) that I need to add a menu that give the user a Windows feel. I added "Help" to a menu and am going to add a next layer called "About". How would I go about displaying a pop up with text explaining the program when the user clicks on the "About" (similar to what happens when a user clicks "Help-About" in a Microsoft product).
It might be even easier to do using the JOptionPane class, with its static showMessageDialog() method. This method enables you to quickly set up the panel you want to display, the dialog title etc. You can even set the icon that gets shown to the left, and it all gets formatted properly. Using this method saves you having to write a custom implementation of the individual gui components and the dialog itself. Hope that helps.