SlideShare uma empresa Scribd logo
1 de 35
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

Mais conteúdo relacionado

Mais procurados

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 ProgrammingEd Seidewitz
 
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 Languagesatvirsandhu9
 
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-MLAgbagbara 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 programmingAbha Damani
 
Abstract & Interface
Abstract & InterfaceAbstract & Interface
Abstract & InterfaceLinh Lê
 
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.0tommyoneill
 
A fresh look at graphical editing
A fresh look at graphical editingA fresh look at graphical editing
A fresh look at graphical editingDr. 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.SivakumarSivakumar 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 AnimationsDoncho Minkov
 
Practical Models in Practice
Practical Models in PracticePractical Models in Practice
Practical Models in PracticeCHOOSE
 
Basic structure of C++ program
Basic structure of C++ programBasic structure of C++ program
Basic structure of C++ programmatiur 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 2Philip 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
 

Mais procurados (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
 

Destaque

श्री जवाहर लाल नेहरू भारत के प्रधानमंत्री
श्री जवाहर लाल नेहरू   भारत के प्रधानमंत्रीश्री जवाहर लाल नेहरू   भारत के प्रधानमंत्री
श्री जवाहर लाल नेहरू भारत के प्रधानमंत्रीkaushal9274
 
श्री चन्द्र शेखर भारत के प्रधानमंत्री
श्री चन्द्र शेखर   भारत के प्रधानमंत्रीश्री चन्द्र शेखर   भारत के प्रधानमंत्री
श्री चन्द्र शेखर भारत के प्रधानमंत्रीkaushal9274
 
Individual photo analysis
Individual photo analysisIndividual photo analysis
Individual photo analysismccoy282
 
White privileges.
White privileges.White privileges.
White privileges.mccoy282
 
Final Layout- YHM Winter Feb 2016
Final Layout- YHM Winter Feb 2016Final Layout- YHM Winter Feb 2016
Final Layout- YHM Winter Feb 2016Sumer Perkins
 
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 2016Stephanie Unsil
 
A New Model for Family Law
A New Model for Family LawA New Model for Family Law
A New Model for Family Lawwpdlegal
 
Colegio de bachilleres plantel 28
Colegio de bachilleres plantel 28Colegio de bachilleres plantel 28
Colegio de bachilleres plantel 28pinocho1996
 

Destaque (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
 

Semelhante a 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 (2).pdf
Smart material - Unit 3 (2).pdfSmart material - Unit 3 (2).pdf
Smart material - Unit 3 (2).pdf
 
Smart material - Unit 3 (1).pdf
Smart material - Unit 3 (1).pdfSmart material - Unit 3 (1).pdf
Smart material - Unit 3 (1).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
 

Mais de Rakesh T

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

Mais de 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
 

Último

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Último (20)

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

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.