CloneSet212


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11377
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/base/LinkLabel.java
21377
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/util/URLLabel.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
77
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/base/LinkLabel.java

public void mouseReleased(MouseEvent e) {
}

public void paint(Graphics g) {
  super.paint(g);
  if (entered || !mousehover) {
    Rectangle r = g.getClipBounds();
    g.drawLine(0, r.height - this.getFontMetrics(this.getFont()).getDescent(), this.getFontMetrics(this.getFont()).stringWidth(this.getText()), r.height - this.getFontMetrics(this.getFont()).getDescent());
  }
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
77
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/util/URLLabel.java

public void mouseReleased(MouseEvent e) {
}

public void paint(Graphics g) {
  super.paint(g);
  if (entered || !mousehover) {
    Rectangle r = g.getClipBounds();
    g.drawLine(0, r.height - this.getFontMetrics(this.getFont()).getDescent(), this.getFontMetrics(this.getFont()).stringWidth(this.getText()), r.height - this.getFontMetrics(this.getFont()).getDescent());
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

public void mouseReleased(MouseEvent e) {
}

public void paint(Graphics g) {
  super.paint(g);
  if (entered || !mousehover) {
    Rectangle r = g.getClipBounds();
    g.drawLine(0, r.height - this.getFontMetrics(this.getFont()).getDescent(), this.getFontMetrics(this.getFont()).stringWidth(this.getText()), r.height - this.getFontMetrics(this.getFont()).getDescent());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None