Control graphical user interface elements, JAVA Programming

Introduction

In this assignment you will use Processing to create some geometric objects and graphical user interface (GUI) elements that Processing itself lacks. Processing has some very convenient graphics drawing functions, but these are not object oriented at all. There are no objects to represent shapes, text boxes, buttons, or list boxes. You will create these in this project.

Objectives

  • Using the Processing programming environment
  • Graphics programming and GUI elements
  • Using interfaces
  • For loops

Getters and setters

I will ask you to make all your member variables private. As such, you will need to create getters and setters for many of the member variables in the classes you create. I will suggest when you should create a getter or setter for a member variable.

Programming style

Remember to use underscores for your member variables only. Do not use underscores in your parameter variable names, even in constructors:

class Foo {

private int _x, _y; // <--underscores!

public Foo(int x, int y) // <--no underscores!

{

_x = x;

_y = y;

}

}

Do not begin variables or method names with capital letters. Only classes should be capitalized.

Processing

You must have Processing installed and running on a computer. See the Lab 10 exercisefor details.

Android

I will give you this information separately.

Custom GUI elements

Design overview

In this program you will first create a Gui class that controls how the graphical user interface elements are drawn on the screen, and how they react to the mouse. Then you will create a few classes to represent geometric shapes (err, ageometric shape), then some GUI elements that use the shape.

Posted Date: 3/8/2013 1:04:44 AM | Location : United States







Related Discussions:- Control graphical user interface elements, Assignment Help, Ask Question on Control graphical user interface elements, Get Answer, Expert's Help, Control graphical user interface elements Discussions

Write discussion on Control graphical user interface elements
Your posts are moderated
Related Questions
O/R mapping is well suited for read, change, write centric applications and not suited for write centric applications where data is seldom read. Although this was usually true of m

Change encrypted HSQL database into CSV format Project Description: We have an encrypted HSQL Database which we have to convert into csv format. HSQL DB . We have java app

System Program Project Description: I want someone who can study my existing program and from there the updates may be done Skills required: Java, Oracle, MySQL, Softwa

Java says write once, run anywhere . In which ways this isn't quite applicable ?

I want a Script developer who will make script for me and if you can show good works there are bonuses too. Skills required are Facebook Marketing, Java, Javascript, PHP, and Sc

Write a program called LandThePlane that calculates whether a plane successfully lands or not.   The program begins by prompting (asking) the user for the following details, in th

Describe the Class or static Members ? A method or a field in a Java program could be declared static. That means the member belongs to the class rather than to an individual

I need a website to do online marketing Project Description: Develop a website designer/developer to develop a website from scratch. This website has to be written in Java an

A J2EE component is a self-contained functional software unit that is assembled into a J2EE application with its related files and classes and interacts with other components. The

Diffentiate Local and Global Variables? Local or function level variable effective just in the function in that they are declared although global variables visible everywhere o