[patch] Improve note input dialogs
The original UI for asking for user input when performing actions on notes was a simple JOptionPane. Note comments are often longer strings of text to convey a complete thought so the JTextField was a bit limiting. I tried doing a custom content pane within the standard JOptionPane and ended up using that for new note submissions. But that annoyed me because the text area did not get focus when the dialog was opened.
But I recently stumbled across the ExtendedDialog class which seems to have solved some of these problems. To reduce duplication of the GUI layout code I created a new class that extends ExtendedDialog and is specific to notes. Then I used that instead of JOptionPane to collect user input.
Change History (3)
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Core →
Core notes
|
Keywords: |
notes removed
|
In 7720/josm: