The Caboteria / Tech Web / TechNotes > ProgrammingNotes > JavaNotes / SwingNotes (16 Feb 2005, TobyCabot)
Tutorial: http://java.sun.com/docs/books/tutorial/uiswing/index.html
Architecture overview: http://java.sun.com/products/jfc/tsc/articles/architecture/

Pretty much everything you see is a JComponent. Top-level container (not a JComponent) is a JFrame, it contains one Container called the "contentPane" (which is a JPanel by default). The JPanel has a LayoutManager that determines how the child JComponents are laid out in the panel.

You can pop a non-modal dialog using JOptionPane.showMessageDialog().

A table of components.

A nice overview picture from http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html:

Edit | Attach | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Copyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback