Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CSE205 Lecture 12
Search
Javier Gonzalez-Sanchez
PRO
September 22, 2021
Programming
0
520
CSE205 Lecture 12
Object-Oriented Programming and Data Structures
Java Swing III
(202203)
Javier Gonzalez-Sanchez
PRO
September 22, 2021
Tweet
Share
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC364 Lecture 17
javiergs
PRO
0
17
CSC307 Lecture 16
javiergs
PRO
0
190
CSC364 Lecture 16
javiergs
PRO
0
45
CSC307 Lecture 15
javiergs
PRO
0
230
CSC364 Lecture 15
javiergs
PRO
0
43
CSC364 Lecture 14
javiergs
PRO
0
110
CSC307 Lecture 14
javiergs
PRO
0
460
CSC307 Lecture 13
javiergs
PRO
0
310
CSC364 Lecture 13
javiergs
PRO
0
98
Other Decks in Programming
See All in Programming
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
2
150
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
170
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
460
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
3
1.1k
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
210
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
210
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
500
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
230
SourceGeneratorのマーカー属性問題について
htkym
0
170
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
540
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
610
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
270
New Earth Scene 8
popppiees
1
1.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Scaling GitHub
holman
464
140k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
200
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Designing for Performance
lara
611
70k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
260
Technical Leadership for Architectural Decision Making
baasie
3
280
Faster Mobile Websites
deanohume
310
31k
Transcript
jgs CSE 205 Object-Oriented Programming and Data Structures Lecture 12:
Java Swing III Dr. Javier Gonzalez-Sanchez
[email protected]
javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment
jgs Previously … JPanel
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 3 jgs
JPanel
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 4 jgs
Pseudo Calculator
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 5 jgs
Extending JPanel
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 6 jgs
Extending JPanel
jgs Tabs The class JTabbedPane
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 8 jgs
Tabs
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 9 jgs
Tabs
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 10 jgs
Tabs
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 11 jgs
Tabs
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 12 jgs
Tabs
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 13 jgs
Tabs
jgs JMenu
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 15 jgs
JMenuBar Jmenu JMenuItem
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 16 jgs
JMenuBar, Jmenu, JMenuItem
jgs Slider
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 18 jgs
§ JSlider s = new JSlider(0,10); add(s);
jgs CheckBox
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 20 jgs
JCheckBox c1 = new JCheckBox("checkbox 1"); JCheckBox c2 = new JCheckBox("checkbox 2"); add(c1);add(c2);
jgs RadioButton
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 22 jgs
JRadioButton b1 = new JRadioButton("one"); JRadioButton b2 = new JRadioButton("two"); JRadioButton b3 = new JRadioButton("three"); JRadioButton b4 = new JRadioButton("four"); b1.setSelected(true); b4.setEnabled(false); ButtonGroup group = new ButtonGroup(); group.add(b1); group.add(b2); group.add(b3); group.add(b4); add(b1); add(b2); add(b3); add(b4);
jgs JList and JComboBox
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 24 jgs
JList Object data[] = {"one", "two", "three", "four", "five"}; JList list = new JList(data); list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION); list.setLayoutOrientation(JList.VERTICAL); JScrollPane listScroller = new JScrollPane(list); add(listScroller);
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 25 jgs
Orientation and Selection
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 26 jgs
§ Object data[] = {"one", "two", "three", "four", "five"}; JComboBox list = new JComboBox(data); add(list);
Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 27 jgs
Questions
jgs CSE 205 Object-Oriented Programming and Data Structures Javier Gonzalez-Sanchez,
Ph.D.
[email protected]
Fall 2021 Copyright. These slides can only be used as study material for the class CSE205 at Arizona State University. They cannot be distributed or used for another purpose.