SlideShare a Scribd company logo
Java  Programming (for designers)
What is a Program? A list of  detailed  instructions that the computer carries out To make a cup of coffee the following would not be sufficient: The instructions would have to be much more detailed: You have to say exactly what to do in the right order with  no ambiguity 1. Boil water 2. Put coffee in cup 3. Pour in hot water 4. Add milk 1.1. Go to kettle 1.2. Check kettle has water in it 1.3. If not  1.3.1 Take kettle to cold tap 1.3.2 Remove lid of kettle 1.3.3 Put kettle under cold tap 1.3.4 Turn on tap 1.3.5 When kettle full turn off tap 1.3.6 Return kettle to worktop 1.4. Plug kettle into mains 1.5.Switch on electricity …… .
Java is… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],X X X ? ☺ X ☺
Get started ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Acronyms ,[object Object],[object Object],[object Object],[object Object]
Set up: Download the JDK ,[object Object],Include the directories where you will run Java apps
Set Up a Development Environment ,[object Object],[object Object]
Set Up ,[object Object],[object Object]
Some Useful Libraries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Standard Java Libraries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Swing ,[object Object],[object Object],[object Object],[object Object],[object Object]
Java 2D ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Java 3D ,[object Object],[object Object],[object Object],[object Object]
Java Versions ,[object Object],[object Object],[object Object],[object Object],[object Object]
Jargon ,[object Object],[object Object]
Basic Procedure ,[object Object],[object Object],[object Object],[object Object],[object Object]
Running a Java Application Write Java code javac MyProg.java java MyProg Java code: MyProg.java Bytecode: MyProg.class IDE or Text Editor Output Save the file with a  .java  extension Run the Java compiler ' javac ' Execute the bytecode with the command ' java ' This creates a file of  bytecode  with a  .class  extension User to interact with the system Program to execute and produce a data set, graphs, etc.
Java program layout ,[object Object],import java.awt.*; import java.util.*; public class SomethingOrOther {   // field and method definitions    . . . } This must be in a file named SomethingOrOther.java !
What does it mean? import java.awt.*; import java.applet.Applet; public class Greetings extends Applet { public void paint(Graphics g) { g.drawString("Hello World!", 50, 50); }  } These 2 lines tell the computer to include (import) two standard libraries awt (Abstract Window Toolkit) and applet. This line tells the computer to display some text (a string) on the screen. This line announces that the program (class) can be run by anyone (public), is called Greetings and is an Applet. This line declares what follows in the { } as a method called paint.  This is where it is displayed in pixels across and down from the top left hand corner This is what is displayed
A Java Class ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
An Applet is a Panel is a Container… is an Object java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Panel | +----java.applet.Applet … so you can do things with it that you’d do with applets, panels, containers, components, and objects.
Object Oriented (OO)  Programming A key aspect is  Inheritance . You don’t have to describe similar objects completely. You can define a  superclass  (sometimes called  base class )  that has the common attributes and methods and  inherit  these adding only the ones that are different. Vehicle Bus Lorry Attributes: Speed, Colour  Methods: Start, Stop Attributes:   Max Load Methods:   Pick up Load Attributes:   Max Passengers Methods:   Pick up Passengers These are inherited
What classes, why? ,[object Object],[object Object],[object Object],[object Object]
Methods ,[object Object],[object Object],calculateArea(shape) { // here geom operations } createShape() { // new square... // calculateArea(square) }
Primitives and Objects ,[object Object],[object Object],[object Object],[object Object],[object Object]
Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object]
Control statements ,[object Object],[object Object],[object Object],[object Object],[object Object]
The  main  method ,[object Object],[object Object],[object Object]
Example An Evolutionary Design System
 
 
 
 
 
 
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Code ,[object Object],[object Object]

More Related Content

What's hot

Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
Intelligo Technologies
 
Java features
Java featuresJava features
Java features
Prashant Gajendra
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
Learn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarLearn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat Shahriyar
Abir Mohammad
 
Introduction to Java -unit-1
Introduction to Java -unit-1Introduction to Java -unit-1
Introduction to Java -unit-1
RubaNagarajan
 
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Edureka!
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java Ravi_Kant_Sahu
 
Java Basic Oops Concept
Java Basic Oops ConceptJava Basic Oops Concept
Java Basic Oops Concept
atozknowledge .com
 
Java basics and java variables
Java basics and java variablesJava basics and java variables
Java basics and java variables
Pushpendra Tyagi
 
Interface in java
Interface in javaInterface in java
Interface in java
PhD Research Scholar
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
Java Programming
Java ProgrammingJava Programming
Java Programming
Anjan Mahanta
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Java Programming
Java ProgrammingJava Programming
Java Programming
Elizabeth alexander
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
CPD INDIA
 

What's hot (20)

Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
 
Java features
Java featuresJava features
Java features
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic Concepts of OOPs (Object Oriented Programming in Java)
 
Learn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarLearn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat Shahriyar
 
Introduction to Java -unit-1
Introduction to Java -unit-1Introduction to Java -unit-1
Introduction to Java -unit-1
 
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
Java Tutorial | Java Programming Tutorial | Java Basics | Java Training | Edu...
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
 
OOP java
OOP javaOOP java
OOP java
 
Java Basic Oops Concept
Java Basic Oops ConceptJava Basic Oops Concept
Java Basic Oops Concept
 
Java basics and java variables
Java basics and java variablesJava basics and java variables
Java basics and java variables
 
History of java'
History of java'History of java'
History of java'
 
Core java Essentials
Core java EssentialsCore java Essentials
Core java Essentials
 
Interface in java
Interface in javaInterface in java
Interface in java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
 

Viewers also liked

Basics of java 2
Basics of java 2Basics of java 2
Basics of java 2Raghu nath
 
Programming with Java: the Basics
Programming with Java: the BasicsProgramming with Java: the Basics
Programming with Java: the BasicsJussi Pohjolainen
 
Java Course 2: Basics
Java Course 2: BasicsJava Course 2: Basics
Java Course 2: Basics
Anton Keks
 
Java Basics
Java BasicsJava Basics
Java Basics
Brandon Black
 
Java Basics
Java BasicsJava Basics
Java Basics
Rajkattamuri
 
PALASH SL GUPTA
PALASH SL GUPTAPALASH SL GUPTA
PALASH SL GUPTA
PALASH GUPTA
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
poonguzhali1826
 
Java Course 3: OOP
Java Course 3: OOPJava Course 3: OOP
Java Course 3: OOP
Anton Keks
 
2. Basics of Java
2. Basics of Java2. Basics of Java
2. Basics of Java
Nilesh Dalvi
 
Basics of file handling
Basics of file handlingBasics of file handling
Basics of file handlingpinkpreet_kaur
 
Java basics
Java basicsJava basics
Java basics
Hoang Nguyen
 
Core java Basics
Core java BasicsCore java Basics
Core java Basics
RAMU KOLLI
 
Java Basics
Java BasicsJava Basics
Java Basics
sunilsahu07
 
Core Java Basics
Core Java BasicsCore Java Basics
Core Java Basics
mhtspvtltd
 
OOPs in Java
OOPs in JavaOOPs in Java
OOPs in Java
Ranjith Sekar
 
Java basics part 1
Java basics part 1Java basics part 1
Java basics part 1
Kevin Rowan
 
Java Basics
Java BasicsJava Basics
Java Basics
Rkrishna Mishra
 
Ppt on java basics
Ppt on java basicsPpt on java basics
Ppt on java basics
Mavoori Soshmitha
 
Basics of java programming language
Basics of java programming languageBasics of java programming language
Basics of java programming language
masud33bd
 

Viewers also liked (20)

Basics of java 2
Basics of java 2Basics of java 2
Basics of java 2
 
Programming with Java: the Basics
Programming with Java: the BasicsProgramming with Java: the Basics
Programming with Java: the Basics
 
Java Course 2: Basics
Java Course 2: BasicsJava Course 2: Basics
Java Course 2: Basics
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Java Basics
Java BasicsJava Basics
Java Basics
 
PALASH SL GUPTA
PALASH SL GUPTAPALASH SL GUPTA
PALASH SL GUPTA
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Java Course 3: OOP
Java Course 3: OOPJava Course 3: OOP
Java Course 3: OOP
 
Java basics
Java basicsJava basics
Java basics
 
2. Basics of Java
2. Basics of Java2. Basics of Java
2. Basics of Java
 
Basics of file handling
Basics of file handlingBasics of file handling
Basics of file handling
 
Java basics
Java basicsJava basics
Java basics
 
Core java Basics
Core java BasicsCore java Basics
Core java Basics
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Core Java Basics
Core Java BasicsCore Java Basics
Core Java Basics
 
OOPs in Java
OOPs in JavaOOPs in Java
OOPs in Java
 
Java basics part 1
Java basics part 1Java basics part 1
Java basics part 1
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Ppt on java basics
Ppt on java basicsPpt on java basics
Ppt on java basics
 
Basics of java programming language
Basics of java programming languageBasics of java programming language
Basics of java programming language
 

Similar to Java Programming for Designers

ITFT - Java Coding
ITFT - Java CodingITFT - Java Coding
ITFT - Java Coding
Blossom Sood
 
Introduction to Software Development
Introduction to Software DevelopmentIntroduction to Software Development
Introduction to Software Development
Zeeshan MIrza
 
Hello Java-First Level
Hello Java-First LevelHello Java-First Level
Hello Java-First Level
Dr. Raaid Alubady
 
Hello java
Hello java   Hello java
Hello java
Hello java  Hello java
basic_java.ppt
basic_java.pptbasic_java.ppt
basic_java.ppt
sujatha629799
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2miiro30
 
College Project - Java Disassembler - Description
College Project - Java Disassembler - DescriptionCollege Project - Java Disassembler - Description
College Project - Java Disassembler - Description
Ganesh Samarthyam
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1sotlsoc
 
Java platform
Java platformJava platform
Java platform
BG Java EE Course
 
Example Of Import Java
Example Of Import JavaExample Of Import Java
Example Of Import Java
Melody Rios
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
SMIJava
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
Madhura Bhalerao
 
Introduction
IntroductionIntroduction
Introduction
richsoden
 

Similar to Java Programming for Designers (20)

ITFT - Java Coding
ITFT - Java CodingITFT - Java Coding
ITFT - Java Coding
 
Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
 
Introduction to Software Development
Introduction to Software DevelopmentIntroduction to Software Development
Introduction to Software Development
 
1- java
1- java1- java
1- java
 
Unit 7 Java
Unit 7 JavaUnit 7 Java
Unit 7 Java
 
Hello Java-First Level
Hello Java-First LevelHello Java-First Level
Hello Java-First Level
 
Hello java
Hello java   Hello java
Hello java
 
Hello java
Hello java  Hello java
Hello java
 
basic_java.ppt
basic_java.pptbasic_java.ppt
basic_java.ppt
 
Basic java part_ii
Basic java part_iiBasic java part_ii
Basic java part_ii
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2
 
College Project - Java Disassembler - Description
College Project - Java Disassembler - DescriptionCollege Project - Java Disassembler - Description
College Project - Java Disassembler - Description
 
JAVA_STEP_V7
JAVA_STEP_V7JAVA_STEP_V7
JAVA_STEP_V7
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
 
Java platform
Java platformJava platform
Java platform
 
Example Of Import Java
Example Of Import JavaExample Of Import Java
Example Of Import Java
 
Proyect of english
Proyect of englishProyect of english
Proyect of english
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
 
Introduction
IntroductionIntroduction
Introduction
 

More from R. Sosa

Intro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniIntro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney Uni
R. Sosa
 
Week 1: Lecture What is Design by Ricardo Sosa
Week 1: Lecture What is Design by Ricardo SosaWeek 1: Lecture What is Design by Ricardo Sosa
Week 1: Lecture What is Design by Ricardo Sosa
R. Sosa
 
Causation
CausationCausation
Causation
R. Sosa
 
100 IDEAS THAT CHANGED DESIGN
100 IDEAS THAT CHANGED DESIGN100 IDEAS THAT CHANGED DESIGN
100 IDEAS THAT CHANGED DESIGN
R. Sosa
 
Edgar Morin El Metodo 4: Las ideas
Edgar Morin El Metodo 4: Las ideasEdgar Morin El Metodo 4: Las ideas
Edgar Morin El Metodo 4: Las ideas
R. Sosa
 
USYD Virtual Design lecture
USYD Virtual Design lectureUSYD Virtual Design lecture
USYD Virtual Design lecture
R. Sosa
 
Design School Confidential Class Projects
Design School Confidential Class ProjectsDesign School Confidential Class Projects
Design School Confidential Class Projects
R. Sosa
 
La Golosina Visual de Ignacio Ramonet
La Golosina Visual de Ignacio RamonetLa Golosina Visual de Ignacio Ramonet
La Golosina Visual de Ignacio Ramonet
R. Sosa
 
Apocalípticos e Integrados
Apocalípticos e IntegradosApocalípticos e Integrados
Apocalípticos e Integrados
R. Sosa
 
Understanding Computers and Cognition
Understanding Computers and CognitionUnderstanding Computers and Cognition
Understanding Computers and Cognition
R. Sosa
 
Convivial Toolbox
Convivial ToolboxConvivial Toolbox
Convivial Toolbox
R. Sosa
 
Brecht on Theatre.pdf
Brecht on Theatre.pdfBrecht on Theatre.pdf
Brecht on Theatre.pdf
R. Sosa
 
Simulation (or Computation) and its Discontents
Simulation (or Computation) and its DiscontentsSimulation (or Computation) and its Discontents
Simulation (or Computation) and its Discontents
R. Sosa
 
Gui Bonsiepe: Las Siete Columnas del Diseño_.pdf
Gui Bonsiepe: Las Siete Columnas del Diseño_.pdfGui Bonsiepe: Las Siete Columnas del Diseño_.pdf
Gui Bonsiepe: Las Siete Columnas del Diseño_.pdf
R. Sosa
 
The Invention of Creativity by Reckwitz.pdf
The Invention of Creativity by Reckwitz.pdfThe Invention of Creativity by Reckwitz.pdf
The Invention of Creativity by Reckwitz.pdf
R. Sosa
 
Write your Thesis using AI
Write your Thesis using AIWrite your Thesis using AI
Write your Thesis using AI
R. Sosa
 
Tikanga Māori
Tikanga MāoriTikanga Māori
Tikanga Māori
R. Sosa
 
The richness of life, Stephen Jay Gould
The richness of life, Stephen Jay GouldThe richness of life, Stephen Jay Gould
The richness of life, Stephen Jay Gould
R. Sosa
 
Las Ideas Estéticas de Marx.pdf
Las Ideas Estéticas de Marx.pdfLas Ideas Estéticas de Marx.pdf
Las Ideas Estéticas de Marx.pdf
R. Sosa
 
Māori Philosophies
Māori PhilosophiesMāori Philosophies
Māori Philosophies
R. Sosa
 

More from R. Sosa (20)

Intro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniIntro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney Uni
 
Week 1: Lecture What is Design by Ricardo Sosa
Week 1: Lecture What is Design by Ricardo SosaWeek 1: Lecture What is Design by Ricardo Sosa
Week 1: Lecture What is Design by Ricardo Sosa
 
Causation
CausationCausation
Causation
 
100 IDEAS THAT CHANGED DESIGN
100 IDEAS THAT CHANGED DESIGN100 IDEAS THAT CHANGED DESIGN
100 IDEAS THAT CHANGED DESIGN
 
Edgar Morin El Metodo 4: Las ideas
Edgar Morin El Metodo 4: Las ideasEdgar Morin El Metodo 4: Las ideas
Edgar Morin El Metodo 4: Las ideas
 
USYD Virtual Design lecture
USYD Virtual Design lectureUSYD Virtual Design lecture
USYD Virtual Design lecture
 
Design School Confidential Class Projects
Design School Confidential Class ProjectsDesign School Confidential Class Projects
Design School Confidential Class Projects
 
La Golosina Visual de Ignacio Ramonet
La Golosina Visual de Ignacio RamonetLa Golosina Visual de Ignacio Ramonet
La Golosina Visual de Ignacio Ramonet
 
Apocalípticos e Integrados
Apocalípticos e IntegradosApocalípticos e Integrados
Apocalípticos e Integrados
 
Understanding Computers and Cognition
Understanding Computers and CognitionUnderstanding Computers and Cognition
Understanding Computers and Cognition
 
Convivial Toolbox
Convivial ToolboxConvivial Toolbox
Convivial Toolbox
 
Brecht on Theatre.pdf
Brecht on Theatre.pdfBrecht on Theatre.pdf
Brecht on Theatre.pdf
 
Simulation (or Computation) and its Discontents
Simulation (or Computation) and its DiscontentsSimulation (or Computation) and its Discontents
Simulation (or Computation) and its Discontents
 
Gui Bonsiepe: Las Siete Columnas del Diseño_.pdf
Gui Bonsiepe: Las Siete Columnas del Diseño_.pdfGui Bonsiepe: Las Siete Columnas del Diseño_.pdf
Gui Bonsiepe: Las Siete Columnas del Diseño_.pdf
 
The Invention of Creativity by Reckwitz.pdf
The Invention of Creativity by Reckwitz.pdfThe Invention of Creativity by Reckwitz.pdf
The Invention of Creativity by Reckwitz.pdf
 
Write your Thesis using AI
Write your Thesis using AIWrite your Thesis using AI
Write your Thesis using AI
 
Tikanga Māori
Tikanga MāoriTikanga Māori
Tikanga Māori
 
The richness of life, Stephen Jay Gould
The richness of life, Stephen Jay GouldThe richness of life, Stephen Jay Gould
The richness of life, Stephen Jay Gould
 
Las Ideas Estéticas de Marx.pdf
Las Ideas Estéticas de Marx.pdfLas Ideas Estéticas de Marx.pdf
Las Ideas Estéticas de Marx.pdf
 
Māori Philosophies
Māori PhilosophiesMāori Philosophies
Māori Philosophies
 

Recently uploaded

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 

Recently uploaded (20)

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 

Java Programming for Designers

  • 1. Java Programming (for designers)
  • 2. What is a Program? A list of detailed instructions that the computer carries out To make a cup of coffee the following would not be sufficient: The instructions would have to be much more detailed: You have to say exactly what to do in the right order with no ambiguity 1. Boil water 2. Put coffee in cup 3. Pour in hot water 4. Add milk 1.1. Go to kettle 1.2. Check kettle has water in it 1.3. If not 1.3.1 Take kettle to cold tap 1.3.2 Remove lid of kettle 1.3.3 Put kettle under cold tap 1.3.4 Turn on tap 1.3.5 When kettle full turn off tap 1.3.6 Return kettle to worktop 1.4. Plug kettle into mains 1.5.Switch on electricity …… .
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Running a Java Application Write Java code javac MyProg.java java MyProg Java code: MyProg.java Bytecode: MyProg.class IDE or Text Editor Output Save the file with a .java extension Run the Java compiler ' javac ' Execute the bytecode with the command ' java ' This creates a file of bytecode with a .class extension User to interact with the system Program to execute and produce a data set, graphs, etc.
  • 18.
  • 19. What does it mean? import java.awt.*; import java.applet.Applet; public class Greetings extends Applet { public void paint(Graphics g) { g.drawString("Hello World!", 50, 50); } } These 2 lines tell the computer to include (import) two standard libraries awt (Abstract Window Toolkit) and applet. This line tells the computer to display some text (a string) on the screen. This line announces that the program (class) can be run by anyone (public), is called Greetings and is an Applet. This line declares what follows in the { } as a method called paint. This is where it is displayed in pixels across and down from the top left hand corner This is what is displayed
  • 20.
  • 21.  
  • 22. An Applet is a Panel is a Container… is an Object java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Panel | +----java.applet.Applet … so you can do things with it that you’d do with applets, panels, containers, components, and objects.
  • 23. Object Oriented (OO) Programming A key aspect is Inheritance . You don’t have to describe similar objects completely. You can define a superclass (sometimes called base class ) that has the common attributes and methods and inherit these adding only the ones that are different. Vehicle Bus Lorry Attributes: Speed, Colour Methods: Start, Stop Attributes: Max Load Methods: Pick up Load Attributes: Max Passengers Methods: Pick up Passengers These are inherited
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Example An Evolutionary Design System
  • 31.  
  • 32.  
  • 33.  
  • 34.  
  • 35.  
  • 36.  
  • 37.  
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.