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.
|Summary:||cleanup status bar initialization code: put in a method and surround in editor-fold|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description ggsize 2007-11-05 03:49:22 UTC
in 6.0beta2: The auto generated code from the Desktop App wizard creates a bunch of stuff for status bar initialization, under the comment: // status bar initialization - message timeout, idle icon and busy animation, etc It would be cleaner if this initialization is put in it's own method, and this method collapsed in the editor (surrounded by // <editor-fold defaultstate="collapsed" desc="Satus Bar initialization"> // </editor-fold> ) Perhaps should also collapse "showAboutBox()"
Comment 1 ggsize 2007-11-05 04:14:39 UTC
OK, if you put the code in a method, then you'll get an error since the variables are declared final, but at minimum, please surround this block of code with editor-fold. I'm not sure you really need to declare these variables final though.