Sunday, 8 April 2018

More About Blue J


Defination of blue J.

BlueJ is an integrated development environment (IDE) for the Java programming language, developed mainly for educational purposes, but also suitable for small-scale software development. It runs with the help of JDK (Java Development Kit).

Java is a programming language (Technology). It was first developed by James Gosling at Sun Microsystems, which is now a part of Oracle Corporation. It was released in 1995 as a part of Sun Microsystems' Java platform. The language has developed much of its syntax from C and C++. Java applications are usually compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM). Java is currently one of the most popular programming languages being used. It has about 10 million users.

Features of Blue J

  The features of BlueJ are designed as an aid to learning object-oriented programming concepts, as well as an aid to program development itself. As a result, some commonly available tools differ from other environments, some tools are absent, and other tools are provided not commonly found in development environments. The features include:
  1. Simple BlueJ has a deliberately smaller and simpler interface than professional environments like NetBeans or Eclipse. This allows beginners to get started more quickly, and without being overwhelmed.
  2. Designed for teaching BlueJ is deliberately designed with good pedagogy in mind. There is a popular textbook designed for teaching introductory university/college courses with BlueJ, and a site full of teaching resources.
  3. Interactive BlueJ allows you to interact with objects. You can inspect their value, call methods on them, pass them as parameters and more. You can also directly invoke Java expressions without compiling. Thus BlueJ is a powerful graphical shell/REPL for Java.
  4. Portable BlueJ runs on Windows, Mac OS X, Linux and other platforms which run Java. It can also run without installation from a USB stick.
  5. Mature BlueJ is over fifteen years old, but continues to be updated and supported by a full-time team. We aim to respond to all technical support requests within one working day.
  6. Innovative BlueJ has several features not seen before in other IDEs. Its object bench, code pad, and scope colouring were all original BlueJ features.

Creating Project in java using Bluej


  • Download the java files you need from the class web site.  You don't have to put them in the BlueJ folder, just remember where you download them to on your computer. In this example I will assume they have been downloaded to the desktop.
  • Start BlueJ by either clicking on the icon you created when you downloaded and installed BlueJ or by navigating to the BlueJ directory and double clicking on the bluej.bat icon.
  • You can alter some of the defaults for BlueJ my modifying the file called bluej.defs with a text editor.This file is located in the lib directory in the bluej folder. You can also modifying the template that starts when creating new programs and classes. The template is stored in the lib -> english -> templates -> newclass folder.
  • When BlueJ is up and running you should see a window that looks something like this:
  • This opens a new window.
  • After giving the new project and name and clicking Create you see the new project.
  • On the first assignment you need to download and add then add th drawingPanel.java class to your project. To add the existing file to the project click on the Edit menu and then select Add Class from File.
  • A new window pops up that allows you to navigate to the correct directory and select the file you want to add
  • Now the new file / class has been added to the file.
  • To compile a class that is part of a program you can either click the Compile button on the left side of the window or right click on the icon of the class and select the Compile option from the pop up menu.
  • To add a new class to the project click on the  New Class button.
  • A menu pops up asking for the name of the class. On assignment 1 the name must be Circle. 
  • To edit the code in a class double click on its icon. This opens an editor window which is very like a simple word processor.
  • And do rest remaining Thing
  • Have Fun!!

To Download the BlueJ click here:


No comments:

Post a Comment

Popular Posts