Suche senden
Hochladen
15b more gui
•
Als PPTX, PDF herunterladen
•
0 gefällt mir
•
357 views
P
Program in Interdisciplinary Computing
Folgen
Melden
Teilen
Melden
Teilen
1 von 10
Jetzt herunterladen
Empfohlen
Adder Presentation
Adder Presentation
Peeyush Pashine
computer notes - Data Structures - 26
computer notes - Data Structures - 26
ecomputernotes
Adder ppt
Adder ppt
Avinash Jadhav
Carry look ahead adder
Carry look ahead adder
dragonpradeep
Map reduce functional programming
Map reduce functional programming
tusjain
Carry save addition
Carry save addition
MICKYJINDAL
Parallel Adder
Parallel Adder
Soudip Sinha Roy
Analysis of different bit carry look ahead adder using verilog code 2
Analysis of different bit carry look ahead adder using verilog code 2
IAEME Publication
Empfohlen
Adder Presentation
Adder Presentation
Peeyush Pashine
computer notes - Data Structures - 26
computer notes - Data Structures - 26
ecomputernotes
Adder ppt
Adder ppt
Avinash Jadhav
Carry look ahead adder
Carry look ahead adder
dragonpradeep
Map reduce functional programming
Map reduce functional programming
tusjain
Carry save addition
Carry save addition
MICKYJINDAL
Parallel Adder
Parallel Adder
Soudip Sinha Roy
Analysis of different bit carry look ahead adder using verilog code 2
Analysis of different bit carry look ahead adder using verilog code 2
IAEME Publication
35th 36th Lecture
35th 36th Lecture
babak danyal
Digital logic circuit
Digital logic circuit
Prabhu R
1.ripple carry adder, full adder implementation using half adder.
1.ripple carry adder, full adder implementation using half adder.
MdFazleRabbi18
IGraph a tool to analyze your network
IGraph a tool to analyze your network
Pushpendra Tiwari
PyLecture2 -NetworkX-
PyLecture2 -NetworkX-
Yoshiki Satotani
Ripple Carry Adder
Ripple Carry Adder
Aravindreddy Mokireddy
4 bit add sub
4 bit add sub
dennis gookyi
07f03 carryskip
07f03 carryskip
shirshenduroy88
Adder Presentation
Adder Presentation
Moeez Ahmad
My Report on adders
My Report on adders
Peeyush Pashine
Chapter 1
Chapter 1
EasyStudy3
carry look ahead adder
carry look ahead adder
ASHISH MANI
What is Adder-Half and Full Adder
What is Adder-Half and Full Adder
Adeel Rasheed
Adder
Adder
anuppatel111
Expertise aircraft sli_h_lefi_01
Expertise aircraft sli_h_lefi_01
Hatem Lefi
Half adder layout design
Half adder layout design
Thevenin Norton TOng
Ripple look-ahead-header
Ripple look-ahead-header
Abid Ali
Hardcore functional programming
Hardcore functional programming
Leonardo Andres Garcia Crespo
Butterfly Counting in Bipartite Networks
Butterfly Counting in Bipartite Networks
Seyed-Vahid Sanei-Mehri
Mi primer map reduce
Mi primer map reduce
betabeers
Objects and Graphics
Objects and Graphics
Edwin Flórez Gómez
Chapter04.pptx
Chapter04.pptx
GiannisPagges
Weitere ähnliche Inhalte
Was ist angesagt?
35th 36th Lecture
35th 36th Lecture
babak danyal
Digital logic circuit
Digital logic circuit
Prabhu R
1.ripple carry adder, full adder implementation using half adder.
1.ripple carry adder, full adder implementation using half adder.
MdFazleRabbi18
IGraph a tool to analyze your network
IGraph a tool to analyze your network
Pushpendra Tiwari
PyLecture2 -NetworkX-
PyLecture2 -NetworkX-
Yoshiki Satotani
Ripple Carry Adder
Ripple Carry Adder
Aravindreddy Mokireddy
4 bit add sub
4 bit add sub
dennis gookyi
07f03 carryskip
07f03 carryskip
shirshenduroy88
Adder Presentation
Adder Presentation
Moeez Ahmad
My Report on adders
My Report on adders
Peeyush Pashine
Chapter 1
Chapter 1
EasyStudy3
carry look ahead adder
carry look ahead adder
ASHISH MANI
What is Adder-Half and Full Adder
What is Adder-Half and Full Adder
Adeel Rasheed
Adder
Adder
anuppatel111
Expertise aircraft sli_h_lefi_01
Expertise aircraft sli_h_lefi_01
Hatem Lefi
Half adder layout design
Half adder layout design
Thevenin Norton TOng
Ripple look-ahead-header
Ripple look-ahead-header
Abid Ali
Hardcore functional programming
Hardcore functional programming
Leonardo Andres Garcia Crespo
Butterfly Counting in Bipartite Networks
Butterfly Counting in Bipartite Networks
Seyed-Vahid Sanei-Mehri
Mi primer map reduce
Mi primer map reduce
betabeers
Was ist angesagt?
(20)
35th 36th Lecture
35th 36th Lecture
Digital logic circuit
Digital logic circuit
1.ripple carry adder, full adder implementation using half adder.
1.ripple carry adder, full adder implementation using half adder.
IGraph a tool to analyze your network
IGraph a tool to analyze your network
PyLecture2 -NetworkX-
PyLecture2 -NetworkX-
Ripple Carry Adder
Ripple Carry Adder
4 bit add sub
4 bit add sub
07f03 carryskip
07f03 carryskip
Adder Presentation
Adder Presentation
My Report on adders
My Report on adders
Chapter 1
Chapter 1
carry look ahead adder
carry look ahead adder
What is Adder-Half and Full Adder
What is Adder-Half and Full Adder
Adder
Adder
Expertise aircraft sli_h_lefi_01
Expertise aircraft sli_h_lefi_01
Half adder layout design
Half adder layout design
Ripple look-ahead-header
Ripple look-ahead-header
Hardcore functional programming
Hardcore functional programming
Butterfly Counting in Bipartite Networks
Butterfly Counting in Bipartite Networks
Mi primer map reduce
Mi primer map reduce
Ähnlich wie 15b more gui
Objects and Graphics
Objects and Graphics
Edwin Flórez Gómez
Chapter04.pptx
Chapter04.pptx
GiannisPagges
Actionscript 3 - Session 2 Getting Started Flash IDE
Actionscript 3 - Session 2 Getting Started Flash IDE
OUM SAOKOSAL
C++ Windows Forms L09 - GDI P2
C++ Windows Forms L09 - GDI P2
Mohammad Shaker
Programming the BBC micro:bit with MicroPython by Dunham High School
Programming the BBC micro:bit with MicroPython by Dunham High School
PYCON MY PLT
python lab programs.pdf
python lab programs.pdf
CBJWorld
Graphical Password Authentication Using Modified Persuasive Cued Click-Point
Graphical Password Authentication Using Modified Persuasive Cued Click-Point
paperpublications3
Revision of the basics of python1 (1).pdf
Revision of the basics of python1 (1).pdf
optimusnotch44
Python is a high-level, general-purpose programming language. Its design phil...
Python is a high-level, general-purpose programming language. Its design phil...
bhargavi804095
Hands on Raspberry Pi - Creative Technologists
Hands on Raspberry Pi - Creative Technologists
bennuttall
Chap1
Chap1
yigitcanture
Python GUI Programming
Python GUI Programming
RTS Tech
Adding Love to an API (or How to Expose C++ in Unity)
Adding Love to an API (or How to Expose C++ in Unity)
Unity Technologies
Keynote + Next Gen UIs.pptx
Keynote + Next Gen UIs.pptx
EqraKhattak
Chapter 1 Class 12 Computer Science Unit 1
Chapter 1 Class 12 Computer Science Unit 1
ssusera7a08a
intro_gui
intro_gui
filipb2
CE344L-200365-Lab5.pdf
CE344L-200365-Lab5.pdf
UmarMustafa13
Game Programming I - Introduction
Game Programming I - Introduction
Francis Seriña
Computer graphics
Computer graphics
shafiq sangi
The Ring programming language version 1.5.4 book - Part 48 of 185
The Ring programming language version 1.5.4 book - Part 48 of 185
Mahmoud Samir Fayed
Ähnlich wie 15b more gui
(20)
Objects and Graphics
Objects and Graphics
Chapter04.pptx
Chapter04.pptx
Actionscript 3 - Session 2 Getting Started Flash IDE
Actionscript 3 - Session 2 Getting Started Flash IDE
C++ Windows Forms L09 - GDI P2
C++ Windows Forms L09 - GDI P2
Programming the BBC micro:bit with MicroPython by Dunham High School
Programming the BBC micro:bit with MicroPython by Dunham High School
python lab programs.pdf
python lab programs.pdf
Graphical Password Authentication Using Modified Persuasive Cued Click-Point
Graphical Password Authentication Using Modified Persuasive Cued Click-Point
Revision of the basics of python1 (1).pdf
Revision of the basics of python1 (1).pdf
Python is a high-level, general-purpose programming language. Its design phil...
Python is a high-level, general-purpose programming language. Its design phil...
Hands on Raspberry Pi - Creative Technologists
Hands on Raspberry Pi - Creative Technologists
Chap1
Chap1
Python GUI Programming
Python GUI Programming
Adding Love to an API (or How to Expose C++ in Unity)
Adding Love to an API (or How to Expose C++ in Unity)
Keynote + Next Gen UIs.pptx
Keynote + Next Gen UIs.pptx
Chapter 1 Class 12 Computer Science Unit 1
Chapter 1 Class 12 Computer Science Unit 1
intro_gui
intro_gui
CE344L-200365-Lab5.pdf
CE344L-200365-Lab5.pdf
Game Programming I - Introduction
Game Programming I - Introduction
Computer graphics
Computer graphics
The Ring programming language version 1.5.4 book - Part 48 of 185
The Ring programming language version 1.5.4 book - Part 48 of 185
Mehr von Program in Interdisciplinary Computing
Phpmysqlcoding
Phpmysqlcoding
Program in Interdisciplinary Computing
Database basics
Database basics
Program in Interdisciplinary Computing
CGS2835 HTML5
CGS2835 HTML5
Program in Interdisciplinary Computing
Mysocial databasequeries
Mysocial databasequeries
Program in Interdisciplinary Computing
Mysocial databasequeries
Mysocial databasequeries
Program in Interdisciplinary Computing
CGS2835 HTML5
CGS2835 HTML5
Program in Interdisciplinary Computing
01 intro tousingjava
01 intro tousingjava
Program in Interdisciplinary Computing
Web architecture v3
Web architecture v3
Program in Interdisciplinary Computing
Xhtml
Xhtml
Program in Interdisciplinary Computing
Webdev
Webdev
Program in Interdisciplinary Computing
Web architecture
Web architecture
Program in Interdisciplinary Computing
Sdlc
Sdlc
Program in Interdisciplinary Computing
Mysocial
Mysocial
Program in Interdisciplinary Computing
Javascript
Javascript
Program in Interdisciplinary Computing
Javascript
Javascript
Program in Interdisciplinary Computing
Html5
Html5
Program in Interdisciplinary Computing
Frameworks
Frameworks
Program in Interdisciplinary Computing
Drupal
Drupal
Program in Interdisciplinary Computing
Database
Database
Program in Interdisciplinary Computing
Javascript2
Javascript2
Program in Interdisciplinary Computing
Mehr von Program in Interdisciplinary Computing
(20)
Phpmysqlcoding
Phpmysqlcoding
Database basics
Database basics
CGS2835 HTML5
CGS2835 HTML5
Mysocial databasequeries
Mysocial databasequeries
Mysocial databasequeries
Mysocial databasequeries
CGS2835 HTML5
CGS2835 HTML5
01 intro tousingjava
01 intro tousingjava
Web architecture v3
Web architecture v3
Xhtml
Xhtml
Webdev
Webdev
Web architecture
Web architecture
Sdlc
Sdlc
Mysocial
Mysocial
Javascript
Javascript
Javascript
Javascript
Html5
Html5
Frameworks
Frameworks
Drupal
Drupal
Database
Database
Javascript2
Javascript2
15b more gui
1.
Getting back to
graphics… LIS4930 © PIC There are three ways to put things on a GUI. 1 2 3 Put widgets on a frame Add buttons, menus, radio buttons, etc. frame.getContentPane( ).add(myButton); Draw 2D graphics on a widget Use a graphics object to paint shapes graphics.fillOval(70,70,100,100); Put a JPEG on a widget You can put your own images on a widget graphics.drawImage(myPic,10,10,this);
2.
FYI – The
Graphics Reference is to a Graphics2D Object LIS4930 © PIC public void paintComponent(Graphicsg) { } g is a Graphics reference and can call: drawImage(), drawLine(), drawPolygon(), drawRect(), drawOval(), fillRect(), fillOval(), fillRoundRect(), and setColor(). But, g is also a Graphics2D reference which extends the Graphics class. It is still accepted by paintComponent because of polymorphism. Graphics2D references can call: fill3DRect(), draw3DRect(), rotate(), scale(), shear(), transform(), setRenderingHints(), paint(), and many more. However, we need to cast g from a Graphics reference to a Graphics2D reference to access the extra methods. Graphics2D g2d = (Graphics2D) g;
3.
We can get
an event.We can paint graphics.But can we paint graphics when we get an event? LIS4930 © PIC
4.
GUI Layouts LIS4930
© PIC NORTH WEST EAST CENTER frame.getContentPane().add(BorderLayout.CENTER, button); SOUTH
5.
What If There
Were Two Buttons? LIS4930 © PIC
6.
How can we
listen to two buttons with only one actionPerformed() method? LIS4930 © PIC 1 2 3 Option 1 (page 373) Implement twoactionPerformed( ) methods? Option 2 (page 373) Register the same listener with both buttons? Option 3 (page 374) Create two separateActionListener classes? There is a better way! Enter the INNER CLASS.
7.
Using An Inner
Class for Animation LIS4930 © PIC
8.
Getting Back to
Our Music Machine LIS4930 © PIC 1 2 3 4 The thing that plays the music Sequencer The music to be played… a song. Sequence The part of the Sequence that holds the actual information. Track The actual music information: notes to play, how long, etc. music information
9.
We Then Need
5 Steps LIS4930 © PIC 1 2 3 4 5 Get a Sequencer and open it Sequencer player = MidiSystem.getSequencer( ); player.open( ); Make a new Sequence Sequence seq = new Sequence(timing, 4); Get a new Track from the Sequence Track t = seq.createTrack( ); Fill the Track with MidiEvents and give the Sequence to the Sequencer t.add(MidiEvent1); player.setSequence(seq); Push the play button player.start( ); DEMO TIME
10.
Anatomy of a
Message LIS4930 © PIC The first argument to setMessage() always represents the message ‘type’, while the other three arguments represent different things depending on the message type. a.setMessage(144, 1, 44, 100); velocity channel note to play message type Check out some other messages: http://www.midi.org/about-midi/table2.shtml Check out some other instruments: http://www.midi.org/techspecs/gm1sound.php#instrument
Jetzt herunterladen