Skip to content

Commit b2b3e50

Browse files
hansonrhansonr
authored andcommitted
minor refactoring
1 parent a554ee4 commit b2b3e50

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSComponentUI.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,12 @@ public class JSComponentUI extends ComponentUI
199199
* we can send the coordinates to the retrieve the row and cell
200200
*
201201
*/
202-
protected JComponent targetParent;
202+
private JComponent targetParent;
203+
204+
public void setTargetParent(JComponent table) {
205+
targetParent = table;
206+
}
207+
203208

204209
public JComponent getTargetParent() {
205210
return targetParent;
@@ -2787,7 +2792,6 @@ public boolean selfOrParentBackgroundPainted() {
27872792
return false;
27882793
}
27892794

2790-
27912795
/**
27922796
* If a control is transparent, then set that in HTML for its node
27932797
*

0 commit comments

Comments
 (0)