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.
1. Register a Coherence server in the Services tab 2. Create a Java SE project 3. Create a new Coherence artefact, e.g. POF Serializer. On the next panel, the UI to add Coherence library to project is displayed. There are several problems in the UI: Problem I: The warning message should be shown at the botton - that's the standard place for this message. Also, the font and icon of the warning is not consistent with the standard warning message in dialogs. Problem II: As this is just a warning, the Finish button should be enabled. Only if an error is shown (with a red exclamation mark icon), the Finish and Next buttons can be both disabled. Problem III: It is not obvious that the "Add to project" button relates to the combo box. At first I thought that "Add to Project" will open a new dialog. Problem IV: It is weird that after pressing the Add to Project button, the UI disappears completely. Yes I do expect some feedback from the UI after I press the button, but I don't expect the UI to disappear. Problem V: It's not clear that "Register new Coherence in the NetBeans IDE" is a link that will open a new dialog. Standard UI for opening new subdialogs inside dialogs is using a button which ends with ... I am not sure how exactly to fix these problems, one idea is the following (but there could be better solutions): - There would be a label "Coherence Library on Project Classpath:" - After this label (to the right), there would be a combo box with several choices: "None", "Registered Library 1", "Registered Library 2", ..., "Add New Coherence...". The meaning is: * None: If the user does not want to add Coherence to the CP * Registered Library X - corresponds to Coherence libraries registered in the IDE. If this is selected, the wizard will add it to the project CP when the user presses Finish. * Add New Coherence... - displays the dialog that is currently displayed after pressing "Register new Coherence in the NetBeans IDE" - This UI could be always shown, even if the project CP already contains Coherence (maybe in this case it could be grayed out) - Standard warning message would be shown on the next line, if "None" is selected above - Finish button is always enabled
Not whole fix included in web-main #358e46a6f29c. Anyway the change of UI is already possible to see there. But there stays troubles: - the disabled finish button - validation message at the bottom of the wizard panel
sorry, it isn't pushed yet - troubles with repo
Integrated into 'main-golden', will be available in build *201205130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2340c52af634 User: Martin Fousek <marfous@netbeans.org> Log: #207291 - Unintuitive and non-standard UI for adding Coherence to the project - part #1 (transplanted from 358e46a6f29cf58d2a3c9228fd644b6bfa060d01)
Ok almost all troubles resolved in web-main #4ab4291f98ec. So now remains last one problem... It looks like that if I include warning message, it isn't shown until the panel return false in isValid() method. I'll try to ask StandaA.
Integrated into 'main-golden', will be available in build *201205150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4ab4291f98ec User: Martin Fousek <marfous@netbeans.org> Log: #207291 - Unintuitive and non-standard UI for adding Coherence to the project - part #2