File tree 2 files changed +7
-7
lines changed
modules/javafx.controls/src
main/java/javafx/scene/control/skin
test/java/test/javafx/scene/control/skin
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 26
26
package javafx .scene .control .skin ;
27
27
28
28
import javafx .geometry .Orientation ;
29
- import javafx .scene .Node ;
30
- import javafx .scene .control .Accordion ;
31
29
import javafx .scene .control .Control ;
32
30
import javafx .scene .control .Separator ;
33
31
import javafx .scene .control .SkinBase ;
34
32
import javafx .scene .layout .Region ;
35
33
36
- import java .util .Collections ;
37
-
38
34
/**
39
35
* Default skin implementation for the {@link Separator} control.
40
36
*
@@ -109,6 +105,13 @@ public SeparatorSkin(Separator control) {
109
105
* *
110
106
**************************************************************************/
111
107
108
+
109
+ @ Override
110
+ public void dispose () {
111
+ getChildren ().remove (line );
112
+ super .dispose ();
113
+ }
114
+
112
115
/**
113
116
* We only need to deal with the single "line" child region. The important
114
117
* thing here is that we want a horizontal separator to have a line which is
Original file line number Diff line number Diff line change 54
54
import javafx .scene .control .PasswordField ;
55
55
import javafx .scene .control .ScrollBar ;
56
56
import javafx .scene .control .ScrollPane ;
57
- import javafx .scene .control .Separator ;
58
57
import javafx .scene .control .Skin ;
59
58
import javafx .scene .control .Spinner ;
60
59
import javafx .scene .control .SplitMenuButton ;
@@ -141,8 +140,6 @@ public static Collection<Object[]> data() {
141
140
PasswordField .class ,
142
141
ScrollBar .class ,
143
142
ScrollPane .class ,
144
- // @Ignore("8273071")
145
- Separator .class ,
146
143
// @Ignore("8245145")
147
144
Spinner .class ,
148
145
SplitMenuButton .class ,
You can’t perform that action at this time.
0 commit comments