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 146694 - WeatherApp api changes needed
Summary: WeatherApp api changes needed
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: JavaFX (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P1 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
: 147977 149579 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-09 19:52 UTC by Lark Fitzgerald
Modified: 2008-10-20 21:11 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 Lark Fitzgerald 2008-09-09 19:52:42 UTC
Tested using FX Cont trunk build 130 (Sep 9, 2008 4:49:22 PM) on NB6.5:
Product Version: NetBeans IDE Dev (Build 200809081401)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Weather app shows editor errors:

1. WeatherModel.fx
a. public static should change to public-read
b. attribute should change to var
c. private function (line 65), remove private
d. cannot assign to parameter dir

2. Weather.fx
a. private should be removed before functions and attributes (vars)
b. attribute should change to var
c. line 277 (override needed)
d. FontStyle no longer exists, need stylesheets
e. transform => transforms
f. CurveTo is missing an import -> QuadCurveTo?  (controlX, controlY, x, y)
g. 435: HorizontalAlignment => textAlignment
h. loose expressions (Canvas at bottom of file
i. 110: weatherModel already defined.

3. TransformHelper
a. attribute = var

4. WeatherApp.fx
a. Group { transform:  has changed to transforms
b. public function run() needs the override keyword (lines 82 & 86)
c. weatherModel has script only (default) access in weatherfx.Weather

5. LoadingScreen
a. private should be removed
b. add overrides
c. CurveTo -> QuadCurveTo
d. transform -> transforms
e. FontStyle no longer avaialable.

6. CachedImage
a. private static attribute -> var
b. remove static from function

7. AnimatedImage
a. private attribute => var
b. remove static from function
c. CachedImage import missing
Comment 1 Lark Fitzgerald 2008-09-23 17:03:04 UTC
*** Issue 147977 has been marked as a duplicate of this issue. ***
Comment 2 Lark Fitzgerald 2008-10-10 19:55:13 UTC
If this is going to ship with 1.0, this needs to be fixed.
Comment 3 Michal Skvor 2008-10-20 13:58:34 UTC
Rewritten to latest SDK version.
Comment 4 Lark Fitzgerald 2008-10-20 21:11:05 UTC
Tested using Promoted SDK #42/Plugin build #41 Oct 20, 2008 6:57:29 PM
Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 749, Build-ID: 2008-10-17_19-02-42 on:
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 5 Lark Fitzgerald 2008-10-20 21:11:54 UTC
*** Issue 149579 has been marked as a duplicate of this issue. ***