I want to ask you about:
JFrame
, JDialog
or another? JDialog
). This is what the About window for Eclipse Indigo looks like (Juno is pretty much the same in look):
The Help>About
window in Eclipse is not a Swing dialog at all. Like other parts of the Eclipse rich-client platform, it is built atop SWT.
The class is org.eclipse.ui.internal.dialogs.AboutDialog
. It's a modal, resizable dialog, built atop a native window with dialog trim and a maximize/restore button.
In an RCP application, its text and image are specified in a *.product file. It's not intended to be instantiated directly outside the Eclipse codebase.
If you need to work in Swing, you could implement a similar window, using JFrame
. If you have the option of building an SWT/RCP application, you could get this dialog for free, along with a huge, tasty menu of additional common high-level functionality.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.