BlueJ: a very quick introduction

Slides:



Advertisements
Similar presentations
JAVA Programming Environment © Juhani Välimäki 2003.
Advertisements

Programming Basic Concepts © Juhani Välimäki 2003.
Programming Creating programs that run on your PC
BlueJ: a very quick introduction. BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs.
1 Fall 2007ACS Fall 2007 Text: Starting out with java from control structures through data structures Gaddis & Muganda Instructor: Ron McFadyen.
Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
Lab 1 Instructor: Jolanta Soltis.
13-Jul-15 BlueJ: A Very Quick Introduction. BlueJ BlueJ is an IDE (Integrated Development Environment). It includes an editor, which you use to write.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
CS0007: Introduction to Computer Programming Setting Up Java.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
CMSC 202 Computer Science II for Majors Fall 2009 Introduction.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
Introduction COMP104: Fundamentals and Methodology.
From BlueJ to NetBeans SWC 2.semester.
The Basics  Operating systems (OS) can help computer users do many things, like managing and manipulating files and folders.  Operating systems also.
CSCI 273: Processing An Introduction. Programming Languages –An abstract "human understandable" language for telling the computer what to do –The abstract.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
ACM/JETT Workshop - August 4-5, Guidelines For Using BlueJ.
POS 406 Java Technology And Beginning Java Code
1 3. Computing System Fundamentals 3.1 Language Translators.
Running CATIA on Windows XP & Vista Dual Boot System 1 Many of us have ?dual boot? OS PC, most likely Windows XP & Vista in dual boot. If you just installed.
5-Jun-16 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
CSE S. Tanimoto Java Introduction 1 Java A Programming Language for Web-based Computing with Graphics.
29-Nov-15 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
Introduction to Eclipse Al-Zahra Univerisity Advanced Programming Arash N. Kia.
, Bauru, Teacher Poly & Teacher Ulisses Audio Class!
Compiling and running Java programs with BlueJ. Successfully compiled files program files in BlueJ You can tell from the shade of a program icon in BlueJ.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Intoduction to Andriod studio Environment With a hello world program.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
Installing a Moodle Test Site The painless and easy way.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
Slide 1. What's New in NetBeans IDE 7.1 Name Title.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Virtual Network Computing
Progress Apama Fundamentals
Applications Active Web Documents Active Web Documents.
CST 1101 Problem Solving Using Computers
Obtaining the Required Tools
Chapter 1 Introduction to Computers, Programs, and Java
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Computer Software: Programming
C Programming Lecture-1 Overview and Environment Setup
Getting Started with R.
Document Generation QRG
An introduction to programming Created by Dr. Randy Pausch
Eclipse Navigation & Usage.
Programming COMP104: Fundamentals and Methodology Introduction.
Prepared by Kimberly Sayre and Jinbo Bi
How to Install an old version of Adobe Reader on Mac OS.
Introduction to Java Dept. Business Computing University of Winnipeg
TRANSLATORS AND IDEs Key Revision Points.
Lecturer: Mukhtar Mohamed Ali “Hakaale”
Introduction to EV3Dev: Setup with Python
Introduction to Algorithm Design
Java Applets.
Citation Map Visualizing citation data in the Web of Science
Chapter 7 –Implementation Issues
BlueJ: a very quick introduction
MADE IN USA KEY QUOTE TOOL.
1.
CS 1111 Introduction to Programming Spring 2019
FEniCS = Finite Element - ni - Computational Software
Java objects: a first view
Instructor: Ron McFadyen 3D
HOW TO CREATE BIBLIOGRAPHY:
Review of Previous Lesson
Presentation transcript:

BlueJ: a very quick introduction Adapted from notes by D. Matuszek, Upenn

BlueJ BlueJ is an IDE IDE = (Interactive|Integrated) Development Environment It includes an editor, which you use to write your programs a debugger, to help you find your mistakes a viewer, to see the parts of your program an easy way to run Java programs and program components an easy way to view documentation http://bluej.org/

(Iteractive|Integrated) Development Environments Most IDEs are language specific, tho some basic ones can be used with multiple languages. There are IDEs for most popular languages (Java, C++, C, Lisp, Smalltalk, Prolog, …) There are dozens of IDEs for Java Java’s capabilities for reflection makes it easy to write Reflection allows a program to examine or "introspect”, seeing it’s own components and (even) code. IDEs tend to be large, complicated and difficult to learn

BlueJ at UMBC Your best bet is to download and install BlueJ on your own computer. There are specific versions for Windows and MAC OS X There is a generic Java version that can be run on most any machine with Java (e.g., Linux, Solaris, …) BlueJ is installed on O:\BlueJ\ on the UMBC OIT PC servers You may need to show it where the java programs are

Open BlueJ, choose New Project

Name the project, click Create

Create and name a new Class or Applet The name of the class should begin with a capital letter

Double-click the new class to edit it The stripes show that the class "Drawing" is not compiled (ready to run)

Edit your class, then Compile it BlueJ starts you with a simple class or a simple applet. You can modify what BlueJ gives you, or just replace it with your own program.

If it's an applet: Right-click the class and choose Run Applet

If applet: choose how to run it, and what size it should be

Here's the running applet!

If application: right-click and choose void main(args)

Application: Just click Ok

Application results

Viewing classes BlueJ’s main display shows all of the classes in your package and the relationships between them

Viewing classes and instances You can interactively create Instances and call methods Attached to any class

Final notes You don't have to Save your work—BlueJ does that automatically for you when you compile If you quit BlueJ and come back later, use Open Project to continue where you left off This quick introduction does not replace working through the tutorial!

The End