File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/ui Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 28
28
import java .awt .event .ItemEvent ;
29
29
import java .net .URL ;
30
30
import java .util .List ;
31
- import javax .swing .BorderFactory ;
32
31
import javax .swing .ButtonGroup ;
33
32
import javax .swing .JComponent ;
34
33
import javax .swing .JPanel ;
35
- import javax .swing .JScrollPane ;
36
34
import javax .swing .JToggleButton ;
37
35
import javax .swing .SortOrder ;
38
36
import org .graalvm .visualvm .lib .jfluid .heap .Heap ;
@@ -190,17 +188,9 @@ protected void fireItemStateChanged(ItemEvent e) {
190
188
toolbar .add (pluginsToolbar );
191
189
}
192
190
193
- JScrollPane htmlViewScroll = new JScrollPane (htmlView .getComponent (),
194
- JScrollPane .VERTICAL_SCROLLBAR_AS_NEEDED ,
195
- JScrollPane .HORIZONTAL_SCROLLBAR_AS_NEEDED );
196
- htmlViewScroll .setBorder (BorderFactory .createEmptyBorder ());
197
- htmlViewScroll .setViewportBorder (BorderFactory .createEmptyBorder ());
198
- htmlViewScroll .getVerticalScrollBar ().setUnitIncrement (10 );
199
- htmlViewScroll .getHorizontalScrollBar ().setUnitIncrement (10 );
200
-
201
191
component = new JPanel (new CardLayout ());
202
192
component .add (objectsView .getComponent ());
203
- component .add (htmlViewScroll );
193
+ component .add (htmlView . getComponent () );
204
194
}
205
195
206
196
}
You can’t perform that action at this time.
0 commit comments