equal
deleted
inserted
replaced
241 ArrayList<String> lines = new ArrayList<String>(); |
241 ArrayList<String> lines = new ArrayList<String>(); |
242 FontMetrics metrics = getFontMetrics(getFont()); |
242 FontMetrics metrics = getFontMetrics(getFont()); |
243 String text = getText(); |
243 String text = getText(); |
244 |
244 |
245 // The current line |
245 // The current line |
246 StringBuffer line = new StringBuffer(); |
246 StringBuilder line = new StringBuilder(); |
247 |
247 |
248 // Space that will be added to current line as long as it's not the last |
248 // Space that will be added to current line as long as it's not the last |
249 // token in the line |
249 // token in the line |
250 String pendingSpace = ""; |
250 String pendingSpace = ""; |
251 int pendingSpaceWidth = 0; |
251 int pendingSpaceWidth = 0; |