Project

General

Profile

Actions

Feature/Suggestion #559

closed

Improve the java options text field

Added by Xfel11 about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
-
Start date:
2015-12-30
Due date:
% Done:

0%

Estimated time:
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.

Actions #1

Updated by SirWill about 8 years ago

I assume you mean the "JVM arguments" field?

Actions #2

Updated by Xfel11 about 8 years ago

Yes.

Actions #3

Updated by Krystals about 8 years ago

  • Status changed from New to In Progress

Working on this in a launcher update :)

Actions #4

Updated by Krystals about 8 years ago

  • Assignee changed from Developer to Krystals
Actions #5

Updated by Slind almost 8 years ago

  • Assignee changed from Krystals to Developer
Actions #6

Updated by Xfel11 over 7 years ago

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.
Actions #7

Updated by jayaram13 over 7 years ago

Will add the scroll pane around the text area.

Will change the config to make the arguments use newlines instead of spaces.

Actions #8

Updated by jayaram13 over 7 years ago

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?

Actions #9

Updated by jayaram13 over 7 years ago

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.

Actions #10

Updated by SirWill over 7 years ago

  • Resolution set to Fixed/Completed
  • Assignee changed from Developer to jayaram13
  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF