Revision 2562 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameText.java

View differences:

FFrameText.java
282 282

  
283 283
					Font titleFont = new Font(m_f.getFontName(),
284 284
							m_f.getStyle(), scaledTitleFontSize);
285
					if (!getTitle().equals("")){
285 286
					TextLayout titleTextLayout = new TextLayout(getTitle(),
286 287
							titleFont, frc);
287 288
					titleTextLayout.draw(g, (float) raux.getX(),
288 289
						(float) (raux.getY() - (gap * myScale)));
290
					}
289 291
				}
290 292

  
291 293
				// Draw the frame involving the text if it exists

Also available in: Unified diff