()
| 691 | } |
| 692 | |
| 693 | public int getFirstLength() { |
| 694 | if (getFirstString() == null) { |
| 695 | return 0; |
| 696 | } |
| 697 | if (getFirstString().length() == 0) { |
| 698 | return 0; |
| 699 | } |
| 700 | return getFont().stringWidth(getFirstString()); |
| 701 | } |
| 702 | |
| 703 | public String getFirstString() { |
| 704 | if (!cf.showResources) { |
no test coverage detected