• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

What is Visual Programming

Free essay example:

Ricki Lambert

Visual Programming

Assignment 1

P1 Task 1

Introduction

It’s very important to remember that there is always more than one choice to make when considering what programming language to sue. They all have their own properties and specific suitability for given tasks. Below is a list of the differing programming languages that offer object orientated programming (OOP) in a visual environment.

  • Java swing
  • Visual Java AWT (abstract window toolkit) – this allows applets and this can be embedded into web pages
  • Visual basic VB
  • Visual Basic.net framework – VB.NET
  • C#
  • Visual C++
  • Delphi
  • ASP.Net

As there are too many languages to consider I shall be looking at the controls of only a few of them. They will be the controls for Java swing and AWT, VB.Net (using visual studio) and C#.

Java Swing  

  • JLabel
  • JButton
  • JTogglebutton
  • JCheckbox
  • JRadiobutton
  • Buttongroup
  • JCombobox
  • JSPlitpane
  • JFormattedtextfield
  • JPasswordfield
  • JSpinner
  • JSeperator
  • JTextpane
  • JEditorpane
  • JTree
  • JTable
  • JToolbar
  • JInternalframe
  • JProgressbar
  • JList
  • JTextfield
  • JTextarea
  • JPannel
  • JTabbedpane
  • JScrollBar
  • JScrollpane
  • JMenubar
  • JPopupmenu
  • JSlider
  • JLayeredpane
  • JDesktoppane
  • JOptionpane
  • Jcolourchooser
  • JFilechooser
  • JFrame
  • JDialog

Java AWT  

  • Label
  • TextField
  • Checkbox
  • List
  • Scrollbar
  • Panel
  • ScrollPane
  • Canvas
  • PopupMenu
  • Button
  • Textarea
  • Choice
  • MenuBar

VB.NET

C#

  • Pointers
  • Buttons
  • Ceckbox
  • Checklistbox
  • Combobox
  • DateTimePicker
  • Label
  • LinkLabel
  • ListBox
  • ListView
  • MaskedTextBox
  • MonthCalender
  • NotifyIcon
  • NumericalUpDown
  • PictureBox
  • ProgressBar
  • Radiobutton
  • RichTextBox
  • Textbox
  • ToolTip
  • TreeView
  • WebBrowser
  • Flow LayoutPanel
  • Groupbox
  • Panel
  • Splitcontainer
  • Tabcontrol
  • Tablelayoutpanel
  • Contextmenustrip
  • Menustrip
  • Statusstrip
  • Toolstrip

I obtained the functions for these programming languages from the following interfaces

  • Visual studio 2005
  • Net Beans

There are many properties that the languages posses, for example, text boxes, frames, buttons, lists, scroll bars. The only difference is that they have differing names, although not dramatically. The java swing package implements a “J” before the term, jtextbox, jbutton, jpane and so on. VB.Net just displays the name.

Definitions of unfamiliar terms

Java

  • JSpinner – Allows the user to increase the value of a number
  • JSlider – Allows the user to change the value of the slider
  • JPasswordBar – Allows the user to enter a password
  • JTree – Allows the user to select from files in a tree like fashion, similar to Windows Explorer

The Visual Basic controls are simpler to understand and the terms are self explanatory.

Good and Bad Programmes

In this task we have been assigned the duty of deciphering between a good and a bad programme, based on the design. Below is my first example of what I believe to be a good programme.

The good programme is Windows Media Player. Windows Media Player has a very good design; it uses bright colours, with large buttons, with each button linking to a set function. This function is then displayed in the main black screen, where we can see the text “opening”. This is a continued theme, and allows any user no matter what there computing competency to carry out a given task. What it also does well is differs between the more complex of options, using a segregation process. For a user to be able to access the more complex of operations they must navigate away from the main user G.U.I and select the tools and options buttons respectively. Below I shall list the points as to why I think this programme has good design.

  • Bright colours are used
  • Buttons are big
  • Buttons are clearly labelled
  • Complex information is separated
  • Relevant information is grouped together

image01.pngimage00.png

My example of a bad programme, based on design is paint.net. I believe this programme has to many details presenting the user with a problem from start up. A user may wish to load this programme and create a very simple picture, but, with a limited knowledge of this programme difficulties may arise. As we can see from the diagram on the page below, there are far too many buttons to select from.

image02.png

To further this point, we have a font size that is too small. The buttons are almost not clearly labelled.

image03.png

  • The user has a problems navigating
  • Buttons are too small
  • Buttons are not labelled
  • Segregation of information and options is limited

Programmes to Manipulate Graphics

When creating a programme it will be important for us to be able to manipulate the graphics, some environments allow us to do this, and these shall be evaluated below;

Microsoft Paint: Microsoft paint has simple features designed for graphical illustrations. It allows users to specify width, start and finish point, colour, angle, pattern, background colour position and size of objects. The problem with paint is that any image created on the screen is static. By this we mean that it cannot be manipulated to move.

image04.png

Flash: When creating visual effects in flash we have the similar properties to that of Microsoft paint, however flash allows us to move the images and make them into animations. Another feature is that it allows for sound to be played simultaneously.

image05.png

Visual Studio: Visual studio allows us to create boxes and pictures and has the same effects as Paint, thus giving us the choice of background colour, size and positioning, pattern, width and so on. Further to this, when we open the programme up we can move the items around the page, unless the programmer specifies that the user shall not be able to. This means the graphics are not static.

image06.png

Visual Java: Visual Java has many features that allow us to create graphical representations of objects; this is very similar to Visual Studio. Visual Java provides user with a AWT graphics, abstract windows toolkit graphics. From this stems learning environments such as green foot and the likes which allows users to take the items taken from the abstract windows toolkit and turn them in to moving animations.

image07.png

This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.

(?)
Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Related AS and A Level Computer Science Skills and Knowledge Essays

See our best essays

Related AS and A Level Computer Science essays

  1. Visual basic

    "O or X" 'On Click Make Field Visible 'When you click on the image it will show you the image field which is "O" If sp1 = True And O2.Visible = False Then X2.Visible = True sp2 = True sp1 = False Exit Sub End If If sp2 = True

  2. Influential Factors in Choosing a Programming Language

    If this is the case and the program is not easily expandable, a lot more time and money than necessary will need to be spent on rewriting code or porting it to a different language. For this reason, object oriented languages are popular because new features can be 'bolted on' as additional classes.

  1. I have been given the task to design a database for a company called ...

    Thus showing that the query is definitely working correctly. Finding ID I used the business 'Hats are you', you can see from appendix one what the correct data should be. Below is a screen print of the findings via the query.

  2. CP3 - Proposed Solution to a Realistic Problem - Apartment Administration software

    // Tell the user to try again END ELSE BEGIN FormAvailability.Show; // Password is correct, show main admin form FormLogon.Close; // Close the logon form END; EDuser.Text:=''; // Reset the user field to become blank EDpass.Text:=''; // Reset the

  1. Computer Aided Design Package

    that the CAM machine might not read the files it outputs perfectly. TurboCAD 10 outputs a different type of file but they state that this type of file is perfectly compatible with any CAM machine that reads .DWG files. Although they say this I think that from past experiences there

  2. AQA Computing CPT3

    which holds the representation of the digits, this is stored in form of number User Interfaces This part of section 1 will show a diagram of the petrol pump, with appropriate annotations and notes identifying the features of the petrol pump console, such as the buttons and displays.

  1. Definition-nature of the problem solved - Car Mechanic business

    This could be a very effective technique for when the business's popularity starts to grow because it will mean a lot more storage places will be being utilised and customer documentation will become harder to find. If the business does start to grow this way however, the storage spaces may

  2. What is Java?

    Traditionally, the output of the compilation has been called object code or sometimes an object module. (Note that the term "object" here is not related to object-oriented programming.) The object code is machine code that the processor can process or "execute" one instruction at a time More recently, the Java

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work