This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 8950 - Tutorial Imageviewer has incorrect code
Summary: Tutorial Imageviewer has incorrect code
Status: CLOSED WORKSFORME
Alias: None
Product: usersguide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 normal (vote)
Assignee: issues@usersguide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-19 01:05 UTC by Vadiraja Bhatt
Modified: 2003-07-01 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadiraja Bhatt 2000-12-19 01:05:02 UTC
Part 2 of the Imageviewer code has a missing call. It says in the

>> public ImageFrame(String imageName) {
>>   Under the initComponents (); line in this same block, add the following:
>>  setTitle (imageName);
>> imageLabel.setIcon (new javax.swing.ImageIcon (imageName));

  There should be a callto show(); after the above code. Otherwise you
 won't see anything.
Comment 1 Jan Chalupa 2001-03-12 12:19:45 UTC
Version: 'Dev' -> 3.2
Comment 2 Patrick Keegan 2001-04-24 15:06:38 UTC
Also, imageviewer is now only an example and not a tutorial anymore.
Comment 3 Quality Engineering 2003-07-01 15:21:10 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 15:24:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.