Search
The Caboteria
/
Tech Web
/
TechNotes
>
ProgrammingNotes
>
JavaNotes
/
SwingNotes
(revision 1) (raw view)
Tutorial: http://java.sun.com/docs/books/tutorial/uiswing/index.html<br/> Architecture overview: http://java.sun.com/products/jfc/tsc/articles/architecture/ Pretty much everything you see is a [[http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComponent.html][JComponent]]. [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html][Top-level container]] (not a =JComponent=) is a [[http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JFrame.html][JFrame]], it contains one =Container= called the "contentPane" (which is a [[http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JPanel.html][JPanel]] by default). The =JPanel= has a [[http://java.sun.com/j2se/1.4.2/docs/api/java/awt/LayoutManager.html][LayoutManager]] that determines how the child =JComponents= are laid out in the panel. You can pop a non-modal dialog using =JOptionPane.showMessageDialog()=. A [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html][table of components]].
Edit
|
Attach
|
P
rint version
|
H
istory
:
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Copyright © 2008-2024 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