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.
070328 -cdc project with Nokia S80 platform -use border layout and put a component to frame -it generates code e.g. add(label1, java.awt.BorderLayout.PAGE_START); -you cannot compile it do-compile: Skipping C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\build\compiled because it already exists. cdcnokiaapplicationdebug\Main.java added as cdcnokiaapplicationdebug\Main.class doesn't exist. Compiling 1 source file to C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\build\compiled Using modern compiler Compilation arguments: '-d' 'C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\build\compiled' '-classpath' 'C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\build\compiled' '-sourcepath' 'C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\build\preprocessed' '-target' '1.4' '-bootclasspath' 'F:\emulators\CDC\S80_DP2_0_PP_SDK\lib\charconv.zip;F:\emulators\CDC\S80_DP2_0_PP_SDK\lib\classes.zip;F:\emulators\CDC\S80_DP2_0_PP_SDK\lib\locale.zip;F:\emulators\CDC\S80_DP2_0_PP_SDK\lib\ppro-ui.jar;F:\emulators\CDC\S80_DP2_0_PP_SDK\lib\ext\s80ext.zip;F:\emulators\CDC\S80_DP2_0_PP_SDK\lib\ext\jdbc.jar' '-encoding' 'Cp1252' '-g' '-source' '1.4' The ' characters around the executable and arguments are not part of the command. File to be compiled: C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\src\cdcnokiaapplicationdebug\Main.java C:\Documents and Settings\Lukas\My Documents\NetBeansProjects\m8\CdcNokiaApplicationDEbug\src\cdcnokiaapplicationdebug\Main.java:38: cannot find symbol symbol : variable PAGE_START location: class java.awt.BorderLayout add(label1, java.awt.BorderLayout.PAGE_START); 1 error
PAGE_START is not a property of BorderLayout in PP1.0/1.1. We must ask Matiz team how to generate proper code
We depends on form editor
detailed steps: -create new Mobility > CDC Application on platform Nokia S80 CDC PP SDK -let the Create Main class selected when creating the project, press finish -new project is created, form opened, the layout otf the form is BorderLayout -add label from the palette to top(important) of the empty form. -go to source ->uncompilable code add(label1, java.awt.BorderLayout.PAGE_START);
Created attachment 41739 [details] project with the PAGE_START
Bug 99826 was fixed - this should fix our problem
verified 070607
I have to reopen this issue. We still have this problem with CDC TK :(
We can't repair it just now as it is significant change in Form editor. However this isue is not blocking user from using AGUI. Please add to the release notes that this issue happens only when you change the default layout (free form) to border layout and there is a workaround: In the property editor for the offending component you can change by hand value of property layout -> direction to to some of the offered values Default layout won't generated this problem
Easy workaround. I am not planning to fix in near future because it requires significant update in form
NetBeans.org Migration: changing resolution from LATER to WONTFIX