Making a GUI

Beschreibung

Making a GUI with Java Swing
desnunan
Karteikarten von desnunan, aktualisiert more than 1 year ago
desnunan
Erstellt von desnunan vor mehr als 12 Jahre
117
0

Zusammenfassung der Ressource

Frage Antworten
What is the syntax to make a JFrame? JFrame frame = new JFrame();
What is the syntax to make a widget (button example)? JButton button = new JButton("click me");
How do you add a widget to a frame? frame.getContentPane(). add(button);
How do you display a frame? Give it a size and make it visible: frame.setSize(300, 300); frame.setVisible(true);
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Java Week 5 Object Oriented Programming
Troy Bowlin
Java Practice 1
Ummm No
PEGA CSSA Prep
Wendell Phipps
Java Practice 2
Ummm No
Java Core. Basics
Gadget
Servion - Java Questionnaire
rohit.benedict
Programming Review
Shannon Anderson-Rush
Useful String Methods
Shannon Anderson-Rush
Programming in Java
Faheem Ahmed
Object Oriented Programming Concepts
Cmagapu