Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Change message to refer to released 2024.2.4 #132

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class BadJBRFoundDialog() : DialogWrapper(true) {
append(
"Your IntelliJ IDEA installation includes a bundled JetBrains Runtime JDK which is known not work for this purpose.\n\n")
append("You can resolve this by one of the following:\n")
append("- Downgrade IntelliJ IDEA to version 2024.2.2 or earlier which bundle a working version\n")
append("- Once released, upgrade IntelliJ IDEA to a version newer than 2024.2.3\n")
append("- Upgrade IntelliJ IDEA to 2024.2.4 or newer\n")
append(
"- Download a newer JetBrains runtime from https://github.com/JetBrains/JetBrainsRuntime/releases and set your run configuration to use it.")
append("\n")
Expand All @@ -32,6 +31,8 @@ class BadJBRFoundDialog() : DialogWrapper(true) {
}

override fun createCenterPanel(): JComponent {
return JPanel().apply { add(JTextArea(message)) }
val textArea = JTextArea(message)
textArea.isEditable = false
return JPanel().apply { add(textArea) }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class NoJBRFoundDialog(bundledJetbrainsJdkMajor: Int?, projectJdkMajor: Int?) :
}

override fun createCenterPanel(): JComponent {
return JPanel().apply { add(JTextArea(message)) }
val textArea = JTextArea(message)
textArea.isEditable = false
return JPanel().apply { add(textArea) }
}
}