Control graphical user interface elements, JAVA Programming


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.


  • 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.


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


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
RMI is a set of APIs that permits to build distributed applications. RMI uses interfaces to explain remote objects to turn local method invocations into remote method invocations.

I want FitLIFE app for Android, IOS, Windows Project Description: Hello, I want to develop an app for Android, IOS and Windows Phone. This app will be work with open source B

What are Logic- or Time-Bombs ? It execute the payload while predetermined event occurs. For instance use kind's particular phrase and particular data is reached.

any example of games that is created by java ?

Solve Neural Network Questions Project Description: You must know  Binary Chop and Kohonen Network, Backpropagation Algorithm. Implementation is required. Can using existi

What is a Relational Database? Give the names of any three RDBMS software? Database consist of two or more then two tables are called Relational database. Oracle dabatbase S

The state chart diagram given below defines the thread states.     1.      Runnable - waiting for its turn to be picked for performing by the thread scheduler based o

These applications are like any Java application. They are made up of not many classes, each performing a particular purpose within the application. But these classes are configure

What do you mean by a task's priority and how can we use it in scheduling ?