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.
NetBeans 5.0 BlueJ edition 200601251500 JDK 1.5.0_06 Steps to reproduce: - run IDE - create Empty BlueJ project -> views are switching Projects, BlueJ, Projects, BlueJ
unfortunately not fixable within our current constraint (running against binaries of netbeans 5.0) the fix would involve rewriting the open project action to chage the component opening/activation logic.
Created attachment 37924 [details] suggested change in projectui module
please review this minor change to projects/projectui module. introduces a system property check that influences behaviour.
thanks for review I will integrate tomorrow.
Please choose a different system property name that reflects the behavior, not the fact that it is used in BlueJ (though that fact can be mentioned in arch.xml). Generally use Boolean.getBoolean, not System.getProperty(...) != null. Otherwise -Dprop=false or even -Dprop= will act like -Dprop=true, which is surprising. In this case the default value is true, so you need to check System.getProperty(...) == null || Boolean.getBoolean(...), or something like that. "focus it's own component" -> "focus its own component" ("it's" ~ "it is"; "its" ~ jeho)
fixed in trunk.
Created attachment 38742 [details] relevant patch for 551
Looks OK to me.
adding 551 candidate tag
v/c