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 18
javiergs
PRO
0
37
CSC364 Lecture 17
javiergs
PRO
0
160
CSC307_L17_review_5050.pdf
javiergs
PRO
0
12
CSC307 Lecture 16
javiergs
PRO
0
260
CSC364 Lecture 16
javiergs
PRO
0
170
CSC307 Lecture 15
javiergs
PRO
0
260
CSC364 Lecture 15
javiergs
PRO
0
68
CSC364 Lecture 14
javiergs
PRO
0
140
CSC307 Lecture 14
javiergs
PRO
0
480
Other Decks in Programming
See All in Programming
20260315 AWSなんもわからん🥲
chiilog
2
160
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
120
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
260
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
290
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1k
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
220
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
290
Claude Codeログ基盤の構築
giginet
PRO
7
3.4k
Ruby and LLM Ecosystem 2nd
koic
1
1k
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
270
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
120
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
160
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
14k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
180
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.4k
The SEO Collaboration Effect
kristinabergwall1
0
400
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
Deep Space Network (abreviated)
tonyrice
0
92
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.