Feature/Suggestion #559
closed
Improve the java options text field
Added by Xfel11 over 8 years ago.
Updated over 7 years ago.
Resolution:
Fixed/Completed
Description
Currently, it is quite a pain to work with the "Java Options" text field ie to start minecraft in debug mode (Don't ask me why I did that). It should be changed into a bigger TextArea so one can actually edit it directly.
I assume you mean the "JVM arguments" field?
- Status changed from New to In Progress
Working on this in a launcher update :)
- Assignee changed from Developer to Krystals
- Assignee changed from Krystals to Developer
While this change does help, I think there is room for further improvements:
- Adding a scroll pane around the text field
- Separate the arguments by newlines instead of spaces. That way, it's easier to see where the arguments start/end.
Will add the scroll pane around the text area.
Will change the config to make the arguments use newlines instead of spaces.
Modified Configuration.java to make the options appear in newlines. But putting the textarea into a JScrollPane constrains it to the default layout - forcing the textarea to have the same height as a textbox (one row). The setPreferredSize method also gets ignored as a result.
I can either change the default layout and manually fix alignment for all the components in the canvas, or just leave the textarea float without a JScrollPane.
Suggestions?
jayaram13 wrote:
Modified Configuration.java to make the options appear in newlines. But putting the textarea into a JScrollPane constrains it to the default layout - forcing the textarea to have the same height as a textbox (one row). The setPreferredSize method also gets ignored as a result.
I can either change the default layout and manually fix alignment for all the components in the canvas, or just leave the textarea float without a JScrollPane.
Suggestions?
Managed to get both suggestions implemented. The JScrollPane respected the setMinimumSize while ignoring the setRecommendedSize. So we're good to go.
- Resolution set to Fixed/Completed
- Assignee changed from Developer to jayaram13
- Status changed from In Progress to Closed
Also available in: Atom
PDF