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
Develop a Client/Server (MySQL) student record application Project Description: I need a client/server application with a MySQL backend database. The prototype could interfac

Two XML configuration files are uses by The Validator Framework validator-rules.xml and validation.xml. The validator-rules.xml shows the standard validation routines, these are re

In the programming assignments, you are going to develop a simple distributed ticket reservation system (DTRS). This system is used by customers (with unique 6-digit customerID s)

I want Android App Notes Project Description: Seeking a developer to create a simple note application I don't need all the visualize features. I just want the user to t

When should a method be static? • Neither reads from nor writes to example fields • Independent of the state of the object • Mathematical methods which accept arguments, appl

What do you mean through FTP or File Transfer Protocol? FTP: File transfer protocol was first introduced in the year of 1973; it standardized the transfer of files among comp

Modify the client server application developed for phase 1 IP2 to be a Multithreaded Server (i.e. the server can handle concurrent requests from more than one client). Submit your

i want a full program with test about the following: linkedComputers: We will assume that a number of methods are required. These are specified below. String getComputerName() ret

codes and output on how to make multiple choices quiz

The report: Your report must describe the requirements of the application, outline the design of the solution, and provide a testing procedure to prove the application works. In yo