summaryrefslogtreecommitdiff
path: root/javax
diff options
context:
space:
mode:
Diffstat (limited to 'javax')
-rw-r--r--javax/swing/text/html/HTMLEditorKit.java1
-rw-r--r--javax/swing/text/html/InlineView.java5
-rw-r--r--javax/swing/text/html/StyleSheet.java4
3 files changed, 3 insertions, 7 deletions
diff --git a/javax/swing/text/html/HTMLEditorKit.java b/javax/swing/text/html/HTMLEditorKit.java
index 3b122bb36..c15fcae99 100644
--- a/javax/swing/text/html/HTMLEditorKit.java
+++ b/javax/swing/text/html/HTMLEditorKit.java
@@ -837,7 +837,6 @@ public class HTMLEditorKit
}
if (view == null)
{
- System.err.println("missing tag->view mapping for: " + element);
view = new NullView(element);
}
return view;
diff --git a/javax/swing/text/html/InlineView.java b/javax/swing/text/html/InlineView.java
index cea0782b1..58edc7385 100644
--- a/javax/swing/text/html/InlineView.java
+++ b/javax/swing/text/html/InlineView.java
@@ -162,9 +162,8 @@ public class InlineView
public int getBreakWeight(int axis, float pos, float len)
{
int weight;
- if (nowrap) { if (getText(getStartOffset(), getEndOffset()).toString().contains("Web"))
- System.err.println("Web NOWRAP");
- weight = BadBreakWeight;}
+ if (nowrap)
+ weight = BadBreakWeight;
else
weight = super.getBreakWeight(axis, pos, len);
return weight;
diff --git a/javax/swing/text/html/StyleSheet.java b/javax/swing/text/html/StyleSheet.java
index 450f31da1..cb10ac1c5 100644
--- a/javax/swing/text/html/StyleSheet.java
+++ b/javax/swing/text/html/StyleSheet.java
@@ -512,8 +512,7 @@ public class StyleSheet extends StyleContext
}
catch (IOException ex)
{
- // Shouldn't happen. And if, then we
- System.err.println("IOException while parsing stylesheet: " + ex.getMessage());
+ // Shouldn't happen. And if, then don't let it bork the outside code.
}
// Clean up resolved styles cache so that the new styles are recognized
// on next stylesheet request.
@@ -1431,7 +1430,6 @@ public class StyleSheet extends StyleContext
}
if (centerY == -1)
{
- System.err.println("WARNING LI child is not a paragraph view " + itemView.getView(0) + ", " + itemView.getViewCount());
centerY =(int) (h / 2 + y);
}
g.fillOval(centerX - 3, centerY - 3, 6, 6);