|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.HelloWorldWithButton
public class HelloWorldWithButton
Class for almost as simple GUI example (one button).
Constructor Summary | |
---|---|
HelloWorldWithButton()
|
Method Summary | |
---|---|
static void |
createAndShowGUI()
Constructs a GUI window that displays "Hello World". |
static void |
main(java.lang.String[] args)
Tests / demonstrates class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HelloWorldWithButton()
Method Detail |
---|
public static void createAndShowGUI()
public static void main(java.lang.String[] args)
args
- command-line arguments, not used
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |