Programming Assignment in Java

There are several workshop categories: (1) application development, (2) databases, (3) networking, and (4) systems administration. You will create an enumerated type that matches these categories. A workshop consists of: (1) title, (2) length in days, (3) category, and (4) cost. Create a class named Workshop that holds this information, with a complete set of properties and a ToString method. It should also contain a public shared string array such as the following:

Public Shared CategoryNames() As String = {"Application development", "Databases", "Networking", "Systems administration"}

Data File

When the application starts, it must read a list of workshops from a data file (this is included in the attachment) and store them in an array or collection. Each line in the file will be a different workshop, with the fields separated by the \ (backslash) character. Here is a sample line from the file:

0\3\800\Programming in Java

(Category = 0, Days = 3, Cost = $800, Title = Programming in Java)

Create a user interface that lets the user complete the following tasks:

  • Display all workshops in a list in the startup form.
  • Select a single workshop to display in detail format in a separate window. A combo box control should display a list of categories, with the workshop's actual category as the current selection. This window permits the user to modify the workshop fields and save all changes. If the user modifies a workshop, clicks the Save and Close button, and return to the startup form, the workshop changes should appear in the list box. None of the changes are permanent because you are not required to save the modified workshop list back to the data file. Implementation suggestions You can create a property of type Workshop in the Workshop Details form. Before displaying this form, assign the selected workshop (from the list box) to the Workshop Details form's Text property. When the form loads, copy the workshop property values into the text boxes and combo box.

Sample Programming Assignment in Java


  • 24 x 7 Availability.
  • Trained and Certified Experts.
  • Deadline Guaranteed.
  • Plagiarism Free.
  • Privacy Guaranteed.
  • Free download.
  • Online help for all project.