@@ -71,6 +71,7 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
71
71
static val RED = new Color (153 , 0 , 0 )
72
72
static val INDICATOR_WIDTH = 20
73
73
static val OVERVIEW_TABLE_ROW_HEIGHT = 20
74
+ static val TEXTPANE_DIM = new Dimension (100 , 100 )
74
75
LimitedLinkedHashMap<String , Run > runs = new LimitedLinkedHashMap<String , Run > (10 )
75
76
Run currentRun
76
77
JPanel basePanel
@@ -558,7 +559,7 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
558
559
m = p2. matcher(localText)
559
560
}
560
561
val result = ' ' '
561
- «FOR p : localText.split(System.lineSeparator )»
562
+ «FOR p : localText.split(" \n " )»
562
563
<p>«p»</p>
563
564
«ENDFOR»
564
565
' ' '
@@ -1040,7 +1041,9 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
1040
1041
testFailureMessageTextPane = new RunnerTextPane
1041
1042
testFailureMessageTextPane. editable = false
1042
1043
testFailureMessageTextPane. enabled = true
1043
- testFailureMessageTextPane. contentType = " text/html"
1044
+ testFailureMessageTextPane. contentType = " text/html"
1045
+ testFailureMessageTextPane. minimumSize = TEXTPANE_DIM
1046
+ testFailureMessageTextPane. preferredSize = TEXTPANE_DIM
1044
1047
testFailureMessageTextPane. addHyperlinkListener(this )
1045
1048
val testFailureMessageScrollPane = new JScrollPane (testFailureMessageTextPane)
1046
1049
c. gridx = 1
@@ -1064,6 +1067,8 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
1064
1067
testErrorStackTextPane. editable = false
1065
1068
testErrorStackTextPane. enabled = true
1066
1069
testErrorStackTextPane. contentType = " text/html"
1070
+ testErrorStackTextPane. minimumSize = TEXTPANE_DIM
1071
+ testErrorStackTextPane. preferredSize = TEXTPANE_DIM
1067
1072
testErrorStackTextPane. addHyperlinkListener(this )
1068
1073
val testErrorStackScrollPane = new JScrollPane (testErrorStackTextPane)
1069
1074
c. gridx = 0
@@ -1084,6 +1089,8 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
1084
1089
testWarningsTextPane. editable = false
1085
1090
testWarningsTextPane. enabled = true
1086
1091
testWarningsTextPane. contentType = " text/html"
1092
+ testWarningsTextPane. minimumSize = TEXTPANE_DIM
1093
+ testWarningsTextPane. preferredSize = TEXTPANE_DIM
1087
1094
testWarningsTextPane. addHyperlinkListener(this )
1088
1095
val testWarningsScrollPane = new JScrollPane (testWarningsTextPane)
1089
1096
c. gridx = 0
@@ -1104,6 +1111,8 @@ class RunnerPanel implements ActionListener, MouseListener, HyperlinkListener {
1104
1111
testServerOutputTextPane. editable = false
1105
1112
testServerOutputTextPane. enabled = true
1106
1113
testServerOutputTextPane. contentType = " text/html"
1114
+ testServerOutputTextPane. minimumSize = TEXTPANE_DIM
1115
+ testServerOutputTextPane. preferredSize = TEXTPANE_DIM
1107
1116
testServerOutputTextPane. addHyperlinkListener(this )
1108
1117
val testServerOutputScrollPane = new JScrollPane (testServerOutputTextPane)
1109
1118
c. gridx = 0
0 commit comments