Fall Term 2001
Design and implement a web browsing application using JFC/Swing. Among the features, include the following:
· Standard features. The following features are common with web browsers, and should be included in your application (although the specific details on the look and feel are up to you):
· Link buttons. You’ll need common link buttons for Back, Forward, Reload, Home.
· Bookmarks. A mechanism to store, manage, present, and load URLs for your favourite web sites. (You might consider designing a custom class for this purpose.)
· Location field. A field showing the URL for the page currently being viewed. As with most browsers, this field should be editable, allowing direct entry of a URL to load.
· Link URL field. A field that shows the URL for the link under the mouse pointer. Clicking the mouse button loads the page for this URL.
· Help. Use F1 to load a help page into the browser window. (The help page is in html format.)
· Et cetera. Other features that enhance the usability of your web browsing application.
· New features. Include the following features not normally found in web browsing applications:
· Custom Link Buttons. At least four on-screen user-configurable buttons to load favourite pages or pages from frequently-visited sites. (Make sure the labels are also configurable. For example, when you configure a button to go directly to York University’s home page, you can also specify that the button label appears as “York”.)
· Elapsed time indicator. An on-screen field showing the elapsed time since the program was launched. (The elapsed time field should be an instance of a custom class, for example, an extension of JTextField that uses a Timer object to generate an event once per second. The elapsed time should appear in hh:mm:ss format.)
· Boss key. Use Ctrl-B as a “boss key”. A boss key directly brings up a mock page that looks relevant to your job (useful, for example, if your boss walks into your office while you’re browsing game sites!). Make sure you provide the boss page html file with your submission. This file should look “business like”, but otherwise it doesn’t matter how it appears.
· Original feature. As well as the three “new features” above, include at least one “original feature” — a feature of your own design. This should be a feature not found in browsers such as Netscape Navigator or Microsoft IE. It is your own idea — a feature that may be useful and appreciated by users of your web browsing application. Make sure your help page clearly mentions this feature.
In Ariel, submit a file named ’a4.java’ using the command ’submit 3461 a4 a4.java’. This file contains the source code for your assignment. Submit other files required for your assignment in a similar manner.
Submit a text file named 'intro' with the names, student numbers, and login ID's for all group members. The intro text file should also contain a record of the group meetings, etc. Include the date and time of meetings, the people present, and the topics discussed. If other forms of communication were used (e.g., email, phone), indicate the type and extent. Include, as well, a record of the tasks assigned and performed by each member of the team.
Note: The first three lines of the intro file must contain the following four comma-delimited fields, with nothing following the fourth field. A mark will be deducted if this requirement is not met. Only two lines are necessary for groups with two members.
LoginID, StudentID, LastName, FirstName(s)
LoginID, StudentID, LastName, FirstName(s)
LoginID, StudentID, LastName, FirstName(s)
See 'man submit' for further details on using the submit command.