/** * Returns a lighter font-weight. */ public float getLighterFontWeight(float f) { return userAgent.getLighterFontWeight(f); }
/** * Returns a lighter font-weight. */ public float getLighterFontWeight(float f) { return userAgent.getLighterFontWeight(f); }
/** * Returns a lighter font-weight. */ public float getLighterFontWeight(float f) { return userAgent.getLighterFontWeight(f); }
public float getLighterFontWeight(float f) { if (EventQueue.isDispatchThread()) { return userAgent.getLighterFontWeight(f); } else { final float ff = f; class Query implements Runnable { float result; public void run() { result = userAgent.getLighterFontWeight(ff); } } Query q = new Query(); invokeAndWait(q); return q.result; } }
public float getLighterFontWeight(float f) { if (EventQueue.isDispatchThread()) { return userAgent.getLighterFontWeight(f); } else { final float ff = f; class Query implements Runnable { float result; public void run() { result = userAgent.getLighterFontWeight(ff); } } Query q = new Query(); invokeAndWait(q); return q.result; } }
public float getLighterFontWeight(float f) { if (EventQueue.isDispatchThread()) { return userAgent.getLighterFontWeight(f); } else { final float ff = f; class Query implements Runnable { float result; public void run() { result = userAgent.getLighterFontWeight(ff); } } Query q = new Query(); invokeAndWait(q); return q.result; } }