Skip to content

Commit

Permalink
chore: Change message to refer to released 2024.2.4 (#132)
Browse files Browse the repository at this point in the history
* chore: Change message to refer to released 2024.2.4

* use non editable text areas

---------

Co-authored-by: marcin <[email protected]>
  • Loading branch information
Artur- and MarcinVaadin authored Oct 24, 2024
1 parent f1d15de commit 7218ccc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
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) }
}
}

0 comments on commit 7218ccc

Please sign in to comment.