Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CSE205 Lecture 12
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Javier Gonzalez-Sanchez
PRO
September 22, 2021
Programming
560
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
CSC510 Lecture 22
javiergs
PRO
0
13
CSC510 Lecture 20
javiergs
PRO
0
23
CSC510 Lecture 19
javiergs
PRO
0
38
CSC310 Lecture 13
javiergs
PRO
0
41
CSC510 Lecture 18
javiergs
PRO
0
33
CSC510 Lecture 17
javiergs
PRO
0
39
CSC310 Lecture 12
javiergs
PRO
0
37
3100_11.pdf
javiergs
PRO
0
62
CSC510 Lecture 16
javiergs
PRO
0
78
Other Decks in Programming
See All in Programming
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
250
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
280
Seven New Principles of Software Engineering
yegor256
0
360
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
200
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.4k
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
4.8k
golang-bob.pdf
iwatsukayura
0
150
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
1.2k
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
120
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
210
気持ちぃ〜角丸 Squircle
ryu1013
0
360
最近”作らせてる” ローカルAIアプリの話
akit37
0
500
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
650
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Abbi's Birthday
coloredviolet
4
10k
WCS-LA-2024
lcolladotor
0
930
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
290
Ruling the World: When Life Gets Gamed
codingconduct
0
420
Un-Boring Meetings
codingconduct
0
470
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
How to make the Groovebox
asonas
2
2.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
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.