this line give me error Map fillParams = new HashMap(); for calling ireport

hi master

sir i flow this link step by step

http://developers.sun.com/jscreator/learning/tutorials/2/reports.html

when i us this step

Double-click the View Report button to display the Java source for the viewReportBtn_action method.

Add the following code shown in bold to the body of the viewReportBtn_action method.

Code Sample 5: viewReportBtn_action Method

public String viewReportBtn_action() {

// Free up the rowset resources

tripDataProvider.close();

then this line give me error

Map fillParams = new HashMap();

in out put windows give me this error

C:\Documents and Settings\Administrator\My Documents\Creator\Projects\TravelReport\src\travelreport\Page1.java:383: cannot find symbol

symbol : class Map

location: class travelreport.Page1

Map fillParams = new HashMap();

please give me error how solve this error

thank's

aamir

[963 byte] By [mfa786a] at [2007-11-27 6:43:09]
# 1

Complete step 17 (2 steps after you paste the code)

17. Right-click in the source and choose Fix Imports from the pop-up menu.

I suggest that you complete the following 2 tutorials before you try to do the advanced ones.

http://developers.sun.com/jscreator/learning/tutorials/2/jscintro.html

http://developers.sun.com/jscreator/learning/tutorials/2/helloweb.html

jetsonsa at 2007-7-12 18:13:40 > top of Java-index,Development Tools,Java Tools...