SlideShare a Scribd company logo
A Simple Applet
[object Object],[object Object],[object Object],[object Object]
Applets and applications ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Packages and classes ,[object Object],[object Object],[object Object],[object Object],[object Object]
The  Applet   class ,[object Object],[object Object],[object Object],[object Object],[object Object]
Importing the  Applet   class ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The   java.awt   package ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Importing the  java.awt  package ,[object Object],[object Object],[object Object],[object Object]
C and C++ programmers only ,[object Object],[object Object],[object Object],[object Object],[object Object]
The applet so far import java.applet.Applet; import java.awt.*;
Comments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Classes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Your first class ,[object Object],[object Object],[object Object],[object Object],[object Object]
Your first class, part 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Your first class, part 3 ,[object Object],[object Object]
The applet so far import java.applet.Applet; import java.awt.*; // CIT 591 example public class Drawing extends Applet { … we still need to put some code in here... }
Methods ,[object Object],[object Object],[object Object],[object Object],[object Object]
The  paint  method ,[object Object],[object Object],[object Object],[object Object],[object Object]
The  paint  method, part 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
By the way…names ,[object Object],[object Object],[object Object]
The  paint  method, part 3 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Classes and objects ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The  paint  method, part 4 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The applet so far import java.applet.Applet; import java.awt.*; // CIT 591 example public class Drawing extends Applet { public void paint(Graphics g) {   …we still need to put some code in here…   } }
Colors ,[object Object],[object Object],[object Object],Color.BLACK Color.PINK  Color.GREEN Color.DARK_GRAY Color.RED Color.CYAN Color.GRAY Color.ORANGE Color.BLUE Color.LIGHT_GRAY Color.YELLOW Color.WHITE  Color.MAGENTA
New colors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Setting a color ,[object Object],[object Object],[object Object]
The  paint  method so far public void paint(Graphics g) {   g.setColor(Color.BLUE);   …draw a rectangle…   g.setColor(Color.RED);   …draw another rectangle…     } }
Pixels ,[object Object],[object Object],[object Object],[object Object]
Java’s coordinate system ,[object Object],[object Object],[object Object],[object Object],[object Object],(0, 0) (0, 20) (50, 0) (50, 20) (w-1, h-1)
Drawing rectangles ,[object Object],[object Object],[object Object]
The complete applet import java.applet.Applet; import java.awt.*; // CIT 591 example public class Drawing extends Applet { public void paint(Graphics g) { g.setColor(Color.BLUE);   g.fillRect(20, 20, 50, 30);   g.setColor(Color.RED);   g.fillRect(50, 30, 50, 30);   } }
Some more  java.awt  methods ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Drawing Strings ,[object Object],[object Object],[object Object],[object Object],[object Object]
The End

More Related Content

What's hot

Introduction to Procedural Programming in C++
Introduction to Procedural Programming in C++Introduction to Procedural Programming in C++
Introduction to Procedural Programming in C++
Salahaddin University-Erbil
 
A Unified View of Modeling and Programming
A Unified View of Modeling and ProgrammingA Unified View of Modeling and Programming
A Unified View of Modeling and Programming
Ed Seidewitz
 
Introduction Of C++
Introduction Of C++Introduction Of C++
Introduction Of C++
Sangharsh agarwal
 
Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...
Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...
Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...
Philip Schwarz
 
Presentation on C++ Programming Language
Presentation on C++ Programming LanguagePresentation on C++ Programming Language
Presentation on C++ Programming Language
satvirsandhu9
 
Machine learning in php Using PHP-ML
Machine learning in php Using PHP-MLMachine learning in php Using PHP-ML
Machine learning in php Using PHP-ML
Agbagbara Omokhoa
 
Unit 1 introduction to visual basic programming
Unit 1 introduction to visual basic programmingUnit 1 introduction to visual basic programming
Unit 1 introduction to visual basic programming
Abha Damani
 
Abstract & Interface
Abstract & InterfaceAbstract & Interface
Abstract & Interface
Linh Lê
 
C++ Training
C++ TrainingC++ Training
C++ Training
SubhendraBasu5
 
2011 10-24-initiatives-tracker-launch-v1.0
2011 10-24-initiatives-tracker-launch-v1.02011 10-24-initiatives-tracker-launch-v1.0
2011 10-24-initiatives-tracker-launch-v1.0
tommyoneill
 
A fresh look at graphical editing
A fresh look at graphical editingA fresh look at graphical editing
A fresh look at graphical editing
Dr. Jan Köhnlein
 
Structure of C++ - R.D.Sivakumar
Structure of C++ - R.D.SivakumarStructure of C++ - R.D.Sivakumar
Structure of C++ - R.D.Sivakumar
Sivakumar R D .
 
Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)
Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)
Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)
Akhil Mittal
 
WPF Graphics and Animations
WPF Graphics and AnimationsWPF Graphics and Animations
WPF Graphics and Animations
Doncho Minkov
 
Practical Models in Practice
Practical Models in PracticePractical Models in Practice
Practical Models in Practice
CHOOSE
 
Basic structure of C++ program
Basic structure of C++ programBasic structure of C++ program
Basic structure of C++ program
matiur rahman
 
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Philip Schwarz
 
01. introduction to C++
01. introduction to C++01. introduction to C++
01. introduction to C++
Haresh Jaiswal
 
Overview of c++ language
Overview of c++ language   Overview of c++ language
Overview of c++ language
samt7
 
Bcsl 031 solve assignment
Bcsl 031 solve assignmentBcsl 031 solve assignment

What's hot (20)

Introduction to Procedural Programming in C++
Introduction to Procedural Programming in C++Introduction to Procedural Programming in C++
Introduction to Procedural Programming in C++
 
A Unified View of Modeling and Programming
A Unified View of Modeling and ProgrammingA Unified View of Modeling and Programming
A Unified View of Modeling and Programming
 
Introduction Of C++
Introduction Of C++Introduction Of C++
Introduction Of C++
 
Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...
Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...
Refactoring: A First Example - Martin Fowler’s First Example of Refactoring, ...
 
Presentation on C++ Programming Language
Presentation on C++ Programming LanguagePresentation on C++ Programming Language
Presentation on C++ Programming Language
 
Machine learning in php Using PHP-ML
Machine learning in php Using PHP-MLMachine learning in php Using PHP-ML
Machine learning in php Using PHP-ML
 
Unit 1 introduction to visual basic programming
Unit 1 introduction to visual basic programmingUnit 1 introduction to visual basic programming
Unit 1 introduction to visual basic programming
 
Abstract & Interface
Abstract & InterfaceAbstract & Interface
Abstract & Interface
 
C++ Training
C++ TrainingC++ Training
C++ Training
 
2011 10-24-initiatives-tracker-launch-v1.0
2011 10-24-initiatives-tracker-launch-v1.02011 10-24-initiatives-tracker-launch-v1.0
2011 10-24-initiatives-tracker-launch-v1.0
 
A fresh look at graphical editing
A fresh look at graphical editingA fresh look at graphical editing
A fresh look at graphical editing
 
Structure of C++ - R.D.Sivakumar
Structure of C++ - R.D.SivakumarStructure of C++ - R.D.Sivakumar
Structure of C++ - R.D.Sivakumar
 
Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)
Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)
Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)
 
WPF Graphics and Animations
WPF Graphics and AnimationsWPF Graphics and Animations
WPF Graphics and Animations
 
Practical Models in Practice
Practical Models in PracticePractical Models in Practice
Practical Models in Practice
 
Basic structure of C++ program
Basic structure of C++ programBasic structure of C++ program
Basic structure of C++ program
 
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
 
01. introduction to C++
01. introduction to C++01. introduction to C++
01. introduction to C++
 
Overview of c++ language
Overview of c++ language   Overview of c++ language
Overview of c++ language
 
Bcsl 031 solve assignment
Bcsl 031 solve assignmentBcsl 031 solve assignment
Bcsl 031 solve assignment
 

Viewers also liked

श्री जवाहर लाल नेहरू भारत के प्रधानमंत्री
श्री जवाहर लाल नेहरू   भारत के प्रधानमंत्रीश्री जवाहर लाल नेहरू   भारत के प्रधानमंत्री
श्री जवाहर लाल नेहरू भारत के प्रधानमंत्री
kaushal9274
 
श्री चन्द्र शेखर भारत के प्रधानमंत्री
श्री चन्द्र शेखर   भारत के प्रधानमंत्रीश्री चन्द्र शेखर   भारत के प्रधानमंत्री
श्री चन्द्र शेखर भारत के प्रधानमंत्री
kaushal9274
 
Química
QuímicaQuímica
AWARD
AWARDAWARD
Individual photo analysis
Individual photo analysisIndividual photo analysis
Individual photo analysis
mccoy282
 
White privileges.
White privileges.White privileges.
White privileges.
mccoy282
 
Pidsdps9713(1)
Pidsdps9713(1)Pidsdps9713(1)
Pidsdps9713(1)
brigzreplentes
 
Final Layout- YHM Winter Feb 2016
Final Layout- YHM Winter Feb 2016Final Layout- YHM Winter Feb 2016
Final Layout- YHM Winter Feb 2016
Sumer Perkins
 
Nueva identidad grafica Pastoral Educativa
Nueva identidad grafica Pastoral EducativaNueva identidad grafica Pastoral Educativa
Nueva identidad grafica Pastoral Educativa
Hna Carmelita del Espíritu Santo
 
Kertas Kerja Lagu Baru SK Skarok | April 2016
Kertas Kerja Lagu Baru SK Skarok | April 2016Kertas Kerja Lagu Baru SK Skarok | April 2016
Kertas Kerja Lagu Baru SK Skarok | April 2016
Stephanie Unsil
 
Teks ucapan hari guru
Teks ucapan hari guruTeks ucapan hari guru
Teks ucapan hari guru
Wall Maziah Muda
 
A New Model for Family Law
A New Model for Family LawA New Model for Family Law
A New Model for Family Law
wpdlegal
 
Colegio de bachilleres plantel 28
Colegio de bachilleres plantel 28Colegio de bachilleres plantel 28
Colegio de bachilleres plantel 28
pinocho1996
 

Viewers also liked (13)

श्री जवाहर लाल नेहरू भारत के प्रधानमंत्री
श्री जवाहर लाल नेहरू   भारत के प्रधानमंत्रीश्री जवाहर लाल नेहरू   भारत के प्रधानमंत्री
श्री जवाहर लाल नेहरू भारत के प्रधानमंत्री
 
श्री चन्द्र शेखर भारत के प्रधानमंत्री
श्री चन्द्र शेखर   भारत के प्रधानमंत्रीश्री चन्द्र शेखर   भारत के प्रधानमंत्री
श्री चन्द्र शेखर भारत के प्रधानमंत्री
 
Química
QuímicaQuímica
Química
 
AWARD
AWARDAWARD
AWARD
 
Individual photo analysis
Individual photo analysisIndividual photo analysis
Individual photo analysis
 
White privileges.
White privileges.White privileges.
White privileges.
 
Pidsdps9713(1)
Pidsdps9713(1)Pidsdps9713(1)
Pidsdps9713(1)
 
Final Layout- YHM Winter Feb 2016
Final Layout- YHM Winter Feb 2016Final Layout- YHM Winter Feb 2016
Final Layout- YHM Winter Feb 2016
 
Nueva identidad grafica Pastoral Educativa
Nueva identidad grafica Pastoral EducativaNueva identidad grafica Pastoral Educativa
Nueva identidad grafica Pastoral Educativa
 
Kertas Kerja Lagu Baru SK Skarok | April 2016
Kertas Kerja Lagu Baru SK Skarok | April 2016Kertas Kerja Lagu Baru SK Skarok | April 2016
Kertas Kerja Lagu Baru SK Skarok | April 2016
 
Teks ucapan hari guru
Teks ucapan hari guruTeks ucapan hari guru
Teks ucapan hari guru
 
A New Model for Family Law
A New Model for Family LawA New Model for Family Law
A New Model for Family Law
 
Colegio de bachilleres plantel 28
Colegio de bachilleres plantel 28Colegio de bachilleres plantel 28
Colegio de bachilleres plantel 28
 

Similar to Applets - lev' 2

first-applet
first-appletfirst-applet
first-applet
Mohit Patodia
 
Graphics programming in Java
Graphics programming in JavaGraphics programming in Java
Graphics programming in Java
Tushar B Kute
 
Applet in java new
Applet in java newApplet in java new
Applet in java new
Kavitha713564
 
GUI.pdf
GUI.pdfGUI.pdf
GUI.pdf
Poornima E.G.
 
Java Applet
Java AppletJava Applet
Applet and graphics programming
Applet and graphics programmingApplet and graphics programming
Applet and graphics programming
srijavel
 
Client Side Programming with Applet
Client Side Programming with AppletClient Side Programming with Applet
Client Side Programming with Applet
backdoor
 
Smart material - Unit 3 (1).pdf
Smart material - Unit 3 (1).pdfSmart material - Unit 3 (1).pdf
Smart material - Unit 3 (1).pdf
GayathriRHICETCSESTA
 
Smart material - Unit 3 (2).pdf
Smart material - Unit 3 (2).pdfSmart material - Unit 3 (2).pdf
Smart material - Unit 3 (2).pdf
GayathriRHICETCSESTA
 
Unit 7 Java
Unit 7 JavaUnit 7 Java
Unit 7 Java
arnold 7490
 
JAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdfJAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdf
Prof. Dr. K. Adisesha
 
Java applets
Java appletsJava applets
27 applet programming
27  applet programming27  applet programming
27 applet programming
Ravindra Rathore
 
Basic of Applet
Basic of AppletBasic of Applet
Basic of Applet
suraj pandey
 
Introduction to Java Applets
Introduction to Java AppletsIntroduction to Java Applets
Introduction to Java Applets
Andy Juan Sarango Veliz
 
Java: Java Applets
Java: Java AppletsJava: Java Applets
Java: Java Applets
Tareq Hasan
 
Applets 101-fa06
Applets 101-fa06Applets 101-fa06
Applets 101-fa06
nrayan
 
Slide8appletv2 091028110313-phpapp01
Slide8appletv2 091028110313-phpapp01Slide8appletv2 091028110313-phpapp01
Slide8appletv2 091028110313-phpapp01
Abhishek Khune
 
Applets
AppletsApplets
Applets
poojapainter
 
oops with java modules iii & iv.pptx
oops with java modules iii & iv.pptxoops with java modules iii & iv.pptx
oops with java modules iii & iv.pptx
rani marri
 

Similar to Applets - lev' 2 (20)

first-applet
first-appletfirst-applet
first-applet
 
Graphics programming in Java
Graphics programming in JavaGraphics programming in Java
Graphics programming in Java
 
Applet in java new
Applet in java newApplet in java new
Applet in java new
 
GUI.pdf
GUI.pdfGUI.pdf
GUI.pdf
 
Java Applet
Java AppletJava Applet
Java Applet
 
Applet and graphics programming
Applet and graphics programmingApplet and graphics programming
Applet and graphics programming
 
Client Side Programming with Applet
Client Side Programming with AppletClient Side Programming with Applet
Client Side Programming with Applet
 
Smart material - Unit 3 (1).pdf
Smart material - Unit 3 (1).pdfSmart material - Unit 3 (1).pdf
Smart material - Unit 3 (1).pdf
 
Smart material - Unit 3 (2).pdf
Smart material - Unit 3 (2).pdfSmart material - Unit 3 (2).pdf
Smart material - Unit 3 (2).pdf
 
Unit 7 Java
Unit 7 JavaUnit 7 Java
Unit 7 Java
 
JAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdfJAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdf
 
Java applets
Java appletsJava applets
Java applets
 
27 applet programming
27  applet programming27  applet programming
27 applet programming
 
Basic of Applet
Basic of AppletBasic of Applet
Basic of Applet
 
Introduction to Java Applets
Introduction to Java AppletsIntroduction to Java Applets
Introduction to Java Applets
 
Java: Java Applets
Java: Java AppletsJava: Java Applets
Java: Java Applets
 
Applets 101-fa06
Applets 101-fa06Applets 101-fa06
Applets 101-fa06
 
Slide8appletv2 091028110313-phpapp01
Slide8appletv2 091028110313-phpapp01Slide8appletv2 091028110313-phpapp01
Slide8appletv2 091028110313-phpapp01
 
Applets
AppletsApplets
Applets
 
oops with java modules iii & iv.pptx
oops with java modules iii & iv.pptxoops with java modules iii & iv.pptx
oops with java modules iii & iv.pptx
 

More from Rakesh T

"Thirakatha" Movie Review
"Thirakatha" Movie Review"Thirakatha" Movie Review
"Thirakatha" Movie Review
Rakesh T
 
WED - 2011
WED -  2011WED -  2011
WED - 2011
Rakesh T
 
IGNOU - Prospectus
IGNOU - ProspectusIGNOU - Prospectus
IGNOU - Prospectus
Rakesh T
 
Proshow Gold
Proshow GoldProshow Gold
Proshow Gold
Rakesh T
 
Proshow gold
Proshow goldProshow gold
Proshow gold
Rakesh T
 
Applets - Lev' 1
Applets - Lev' 1Applets - Lev' 1
Applets - Lev' 1
Rakesh T
 
Boardingplanes
BoardingplanesBoardingplanes
Boardingplanes
Rakesh T
 
Calicut MCA Syllebus
Calicut MCA SyllebusCalicut MCA Syllebus
Calicut MCA Syllebus
Rakesh T
 

More from Rakesh T (8)

"Thirakatha" Movie Review
"Thirakatha" Movie Review"Thirakatha" Movie Review
"Thirakatha" Movie Review
 
WED - 2011
WED -  2011WED -  2011
WED - 2011
 
IGNOU - Prospectus
IGNOU - ProspectusIGNOU - Prospectus
IGNOU - Prospectus
 
Proshow Gold
Proshow GoldProshow Gold
Proshow Gold
 
Proshow gold
Proshow goldProshow gold
Proshow gold
 
Applets - Lev' 1
Applets - Lev' 1Applets - Lev' 1
Applets - Lev' 1
 
Boardingplanes
BoardingplanesBoardingplanes
Boardingplanes
 
Calicut MCA Syllebus
Calicut MCA SyllebusCalicut MCA Syllebus
Calicut MCA Syllebus
 

Recently uploaded

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 

Recently uploaded (20)

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 

Applets - lev' 2

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. The applet so far import java.applet.Applet; import java.awt.*;
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. The applet so far import java.applet.Applet; import java.awt.*; // CIT 591 example public class Drawing extends Applet { … we still need to put some code in here... }
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. The applet so far import java.applet.Applet; import java.awt.*; // CIT 591 example public class Drawing extends Applet { public void paint(Graphics g) { …we still need to put some code in here… } }
  • 25.
  • 26.
  • 27.
  • 28. The paint method so far public void paint(Graphics g) { g.setColor(Color.BLUE); …draw a rectangle… g.setColor(Color.RED); …draw another rectangle… } }
  • 29.
  • 30.
  • 31.
  • 32. The complete applet import java.applet.Applet; import java.awt.*; // CIT 591 example public class Drawing extends Applet { public void paint(Graphics g) { g.setColor(Color.BLUE); g.fillRect(20, 20, 50, 30); g.setColor(Color.RED); g.fillRect(50, 30, 50, 30); } }
  • 33.
  • 34.