Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 168051 - Hardcoded Export/Import buttons cause problems to platform-based applications
Hardcoded Export/Import buttons cause problems to platform-based applications
Product: platform
Classification: Unclassified
Component: Options&Settings
All All
: P2 (vote)
: 6.x
Assigned To: Jiri Skrivanek
Depends on:
  Show dependency treegraph
Reported: 2009-07-02 16:11 UTC by Jiri Sedlacek
Modified: 2009-07-07 10:38 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2009-07-02 16:11:41 UTC
In platform 6.7 two buttons were added to the Options dialog - Import and Export. Whereas it's clearly useful for the
IDE itself, for other applications built on top of the NetBeans platform this may cause problems:

 1/ The application itself doesn't support exporting/importing the settings but the buttons cannot be removed - usability
 2/ The buttons introduce 2 new mnemonics keys which may be in conflict with existing options panel - accessibility

Since the buttons cannot be easily hidden and the mnemonics cannot be easily controlled I'm filing this as a P2 defect -
it may unintentionally break a platform-based application.

I'd suggest by default the buttons should be hidden and only shown if explicitely requested by the application - this
would ensure the options dialog behaves in a compatible way when upgrading the platform version.
Comment 1 Jiri Sedlacek 2009-07-02 16:12:38 UTC
Affects the VisualVM tool, suggesting to be fixed asap.
Comment 2 Jiri Skrivanek 2009-07-02 20:07:10 UTC
Fixed. Export/Import buttons are enabled only if something is registered in layer under OptionsExport folder.
Comment 3 Marian Mirilovic 2009-07-07 09:40:51 UTC
please verify - other vice it will not be in NB 6.7.1. Thanks in advance.
Comment 4 Tomas Hurka 2009-07-07 09:47:18 UTC
Comment 5 pgebauer 2009-07-07 10:38:08 UTC
The fix has been ported into the release67_fixes repository.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo