Skip to content

Commit 45d1966

Browse files
committed
fix: Fix deprecated API usage for Intellij Platform 2023.2
1 parent a0d3539 commit 45d1966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/toolWindow/CodeXPToolWindowFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CodeXPToolWindowFactory : ToolWindowFactory {
5353
initializeUI()
5454

5555
// Add the dashboard to the tool window
56-
val contentFactory = ContentFactory.SERVICE.getInstance()
56+
val contentFactory = ContentFactory.getInstance()
5757
val scrollPane = JBScrollPane(codeXPDashboardForm.pMain)
5858
val rootPanel = JPanel(BorderLayout())
5959
rootPanel.add(BorderLayout.CENTER, scrollPane)

0 commit comments

Comments
 (0)