apache / apache/netbeans

Allow OptionsDisplayer open("tabPath") to work when dialog already open

Open
#6,954 9 comments 0 reactions 0 assignees View on GitHub
Contribution welcome kind:feature
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

It would be great, if the OptionsDisplayer would have a close functionality.
It can be opened via "OptionsDisplayer.getDefault().open();", but not closed.
Could you add a close() method?!

### Use case/motivation

Once the Options dialog has been opened, it can not be opened on a different tab programmatically, therefore it would be good to have a close method in order to close the Options dialog and open the Options dialog on another tab via OptionsDisplayer.getDefault().open("myTabPath");.

### Related issues

_No response_

### Are you willing to submit a pull request?

Yes

Contributor guide

Open the contributing guide

Research direction

Start at the OptionsDisplayer API and the OptionsDisplayer.getDefault().open() entry point mentioned in the issue. Trace how an already-open dialog handles a request for another tab, then verify that the requested close functionality or equivalent behavior allows opening "myTabPath" programmatically while preserving existing options-dialog behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.