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.

Slides:



Advertisements
Similar presentations
Introduction to Programming Java Lab 1: My First Program 11 January JavaLab1.ppt Ping Brennan
Advertisements

Copyright  Oracle Corporation, All rights reserved. 1 Creating an Application: The AppBuilder for Java IDE.
Click Here for Download the Installation Files Click Here for Guide How to Extract Installation Files.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
BlueJ: a very quick introduction. BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Scite Scintilla integrated text editor. Click here.
A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon...
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.
J2ME Programming. 2 Recommended Books Programming Wireless Devices with the Java2 Platform, Micro Second Edition (Paperback) by Roger Riggs (Editor),
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
1.When you first open Publisher 2013, you will see a startup screen that allows you to create a new publication. 2.Click the type of publication that.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Setting up Eclipse Computer Organization I 1 August 2009 ©2009 McQuain Getting Eclipse for C/C++ Development Go to and click on Download.
ACM/JETT Workshop - August 4-5, Guidelines For Using BlueJ.
Uploading Your Page to the Internet Configuring FTP on Dreamweaver.
FRST JAVA PROGRAM. Getting Started with Java Programming A Simple Java Application Compiling Programs Executing Applications.
CPSC1301 Computer Science 1 Overview of Dr. Java.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Active-HDL Interfaces Debugging C Code Course 10.
Project Deployment IT [211 CAP] How to convert your project to a full application.
Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.
Comments in Java. When you create a New Project in NetBeans, you'll notice that some text is greyed out, with lots of slashes and asterisks:
Word Up! Taking advantages of a couple of Microsoft Word features to help you in increasing the grade level of your writing. 10/29/20151 (c) 2011 K. Pariseau,
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
Download and Install: 1.Java Development Kit (JDK) bin/INTERSHOP.enfinity/WFS/CDS- CDS_Developer-Site/en_US/- /USD/ViewProductDetail-Start?ProductRef=jdk-
IDLE An IDE for Python bundled with the program release Click on IDLE (Python GUI) in the Start menu under the Python program group  Get the IDLE Python.
1 In Microsoft Office 2007, click on the Windows button and select the Excel Options button on the lower right From Excel Options, select Trust Center.
1NetBeans Tutorial Using the “Properties” menu, name the List “List1” and the button “Button1”. NetBeans Tutorial6.
HOW TO DE-FRAG. What is De-Fragmenting? What exactly does it do? What De-fragment does is it compress your files so the hard drive has more space to run.
Intro Compiler Configuration and Sample Project Walkthrough (For Axiom CME11E9-EVB)
Using This PowerPoint This PowerPoint presentation assumes you already have both the Java JDK and JCreator installed and all that you need is the proper.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
Author: Loh Jianxiong Christopher Contributions: Chua Jie Sheng, Li Mengran, Peh Shao Hong, Oo Theong Siang, Tong Chun Kit, Tania Chattopadhyay.
HOW TO RECORD YOUR VOICE FOR AN AUDIO PODCAST Audacity Tutorial.
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Getting Eclipse for C/C++ Development
Customizing the Quick Access Toolbar in Microsoft Office
Appendix A Barb Ericson Georgia Institute of Technology May 2006
How to apply your signature
5.6 Adding more modules to a page
Here you can find the steps by step procedure in order to deal with the problem- Firstly you need to double-click the "Avast" icon in the system tray.
Chapter 4 MS ACCESS DATABASE.
Intro to Java.
How to use Avast to Disable SSL/TLS in Outlook.  Here, you need to begin with opening Outlook and launch the “File” tab. Then you are required to click.
First you need to Click Safari in the upper left hand side of your screen. In the menu that appears, click Preferences. In the window that appears,
First you need to Click Safari in the upper left hand side of your screen. In the menu that appears, click Preferences. In the window that appears,
Java Programming with BlueJ
REVIEW FOR WINDOWS APPLICATIONS TEST ON FRIDAY- SEPT. 7, 2012
Horizontal Centering Using the menu bar
1. Open Visual Studio 2008.
Starting a project in VisualDSP++
Web service.
JCreator Settings Only
BlueJ: a very quick introduction
Creating the First Program
How to Open PowerPoint Maryam Fatima.
Java Programming with BlueJ Objectives
Young Joon Kim SPL basic – Quick Start SPL First Beginner Course – 01 Young Joon Kim
Getting Eclipse for C/C++ Development
Running a Java Program using Blue Jay.
Adjust The Document Style in MS word
Java Code Review with CheckStyle
Click “Execute” button.
Workshop for Programming And Systems Management Teachers
Microsoft Outlook (Disabling desktop notifications)
Presentation transcript:

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 whether the program has been successfully compiled (translated)

Successfully compiled files program files in BlueJ (cont.) Icon shades: Shaded: this program has not been compiled successfully

Successfully compiled files program files in BlueJ (cont.) Unshaded: this program has been compiled successfully

Compiling (translating) your Java program with BlueJ You can compile (= translate) a Java program in BlueJ in 2 different ways:

Compiling (translating) your Java program with BlueJ (cont.) 1.From BlueJ's editor window: Left click on the Compile button

Compiling (translating) your Java program with BlueJ (cont.) 2. From BlueJ's main window: Right click on the program file and then left click of the Compile menu button

Compiling (translating) your Java program with BlueJ (cont.) When the program is compiled successfully, the icon in the main window (associated with the program) become unshaded:

Running a (successfully compiled) Java program with BlueJ Execute a Java program in BlueJ: 1.Right click on the program file in BlueJ's main window, and then 2.Left click on the void main(String[]args) tab:

Running a (successfully compiled) Java program with BlueJ (cont.) 3. A window will pop up: Left click on OK to run the program.

Running a (successfully compiled) Java program with BlueJ (cont.) Result: the output of the program is shown in BlueJ's "terminal" window: