File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
sources/net.sf.j2s.java.core/src/swingjs/plaf Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ public DOMNode updateDOMNode() {
132132 if (domNode == null ) {
133133 domNode = newDOMObject ("div" , id );
134134 enableJSKeys (true );
135+ DOMNode .setStyles (domNode , "outline" , "none" );
135136 // bindJSKeyEvents(domNode, true);
136137 }
137138 if (rebuild ) {
@@ -2051,6 +2052,7 @@ public Dimension getMaximumSize(JComponent jc) {
20512052 @ Override
20522053 public void paint (Graphics g , JComponent c ) {
20532054 super .paint (g , c );
2055+
20542056 // BH 2019.07.04
20552057 // This method is entered from JViewport.blitDoubleBuffered (from scrolling)
20562058 // or from JComponent.paintComponent (initially, or from resize, for instance)
@@ -2075,6 +2077,10 @@ public void paint(Graphics g, JComponent c) {
20752077 int rMin = table .rowAtPoint (upperLeft );
20762078 int rMax = table .rowAtPoint (lowerRight );
20772079
2080+ System .out .println (" new clip " + clip
2081+ + "\n " + upperLeft + " " + lowerRight + " " + rMin + " " + rMax );
2082+
2083+
20782084 // This should never happen (as long as our bounds intersect the clip,
20792085 // which is why we bail above if that is the case).
20802086 if (rMin == -1 ) {
You can’t perform that action at this time.
0 commit comments