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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Javier Gonzalez-Sanchez
PRO
September 22, 2021
Programming
540
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSE205 Lecture 12
Object-Oriented Programming and Data Structures
Java Swing III
(202203)
Javier Gonzalez-Sanchez
PRO
September 22, 2021
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC307 Lecture 21
javiergs
PRO
0
58
CSC307 Lecture 17
javiergs
PRO
0
320
CSC305 Lecture 18
javiergs
PRO
0
370
final project
javiergs
PRO
0
120
CSC305 Lecture 18
javiergs
PRO
0
93
CSC307_L17_mqtt.pdf
javiergs
PRO
0
59
UP Lecture 28
javiergs
PRO
0
54
CSC307_L99_TDD.pdf
javiergs
PRO
0
65
CSC307_L99_TDD.pdf
javiergs
PRO
0
62
Other Decks in Programming
See All in Programming
さぁV100、メモリをお食べ・・・
nilpe
0
140
Inside Stream API
skrb
1
680
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.3k
Contextとはなにか
chiroruxx
1
290
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
210
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
160
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
2
570
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
280
スマートグラスで並列バイブコーディング
hyshu
0
120
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
150
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
160
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
880
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
ラッコキーワード サービス紹介資料
rakko
1
3.6M
What's in a price? How to price your products and services
michaelherold
247
13k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
140
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
How to make the Groovebox
asonas
2
2.2k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
410
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Designing Powerful Visuals for Engaging Learning
tmiket
1
410
Utilizing Notion as your number one productivity tool
mfonobong
4
320
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
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.