You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/CodeWhispererCodeScanIssueDetailsPanel.kt
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ import javax.swing.JEditorPane
51
51
importjavax.swing.JLabel
52
52
importjavax.swing.JPanel
53
53
importjavax.swing.ScrollPaneConstants
54
-
importjavax.swing.SwingUtilities
55
54
importjavax.swing.event.HyperlinkEvent
56
55
importjavax.swing.text.html.HTMLEditorKit
57
56
@@ -72,7 +71,7 @@ internal class CodeWhispererCodeScanIssueDetailsPanel(
72
71
)
73
72
editorPane.revalidate()
74
73
editorPane.repaint()
75
-
SwingUtilities.invokeLater {
74
+
runInEdt {
76
75
editorPane.scrollToReference("fixLoadingSection")
77
76
}
78
77
@@ -85,7 +84,7 @@ internal class CodeWhispererCodeScanIssueDetailsPanel(
85
84
)
86
85
revalidate()
87
86
repaint()
88
-
SwingUtilities.invokeLater {
87
+
runInEdt {
89
88
scrollToReference("fixFailureSection")
90
89
}
91
90
}
@@ -122,7 +121,7 @@ internal class CodeWhispererCodeScanIssueDetailsPanel(
0 commit comments