We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79dfab7 commit 77ba5a9Copy full SHA for 77ba5a9
1 file changed
sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java
@@ -1417,7 +1417,12 @@ public void mouseClicked(final MouseEvent e) {
1417
testServerOutputTextPane.setContentType("text/html");
1418
testServerOutputTextPane.setMinimumSize(TEXTPANE_DIM);
1419
testServerOutputTextPane.setPreferredSize(TEXTPANE_DIM);
1420
- testServerOutputTextPane.addHyperlinkListener(event -> openLink(event.getDescription()));
+ testServerOutputTextPane.addHyperlinkListener(event -> {
1421
+ if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
1422
+ final String link = event.getDescription();
1423
+ openLink(link);
1424
+ }
1425
+ });
1426
final JScrollPane testServerOutputScrollPane = new JScrollPane(testServerOutputTextPane);
1427
c.gridx = 0;
1428
c.gridy = 0;
0 commit comments